Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use merge queue #1683

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

use merge queue #1683

wants to merge 3 commits into from

Conversation

MarcoIeni
Copy link
Member

No description provided.

@rustbot
Copy link
Collaborator

rustbot commented Nov 27, 2024

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) some time within the next two weeks.

git add .
git -c user.name='ci' -c user.email='ci' commit -m init
git push -f -q https://git:${{ secrets.github_token }}@github.com/${{ github.repository }} HEAD:gh-pages
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the if, and moved the Publish step to the doc.yml.

I kept the rest of the job here so that we know in advance if the job fail 👍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw, was the if every triggered? I'm asking since the on condition looks like this:

push:
    branches:
    - auto
    - try

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I think can just drop the docs publishing. They've been included in the standard library for ages.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel free to push the change 👍

Copy link
Member Author

@MarcoIeni MarcoIeni Nov 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I just removed the file 👍

I guess you still need to check if the docs are correct, so I kept the previous steps 👍

.github/workflows/main.yml Show resolved Hide resolved
pull_request:
branches:
- master
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, I removed this filter, feel free to re-add it

@MarcoIeni
Copy link
Member Author

MarcoIeni commented Nov 27, 2024

actually I forgot the conclusion job! Adding it now
EDIT: Done ✅

# Print the dependent jobs to see them in the CI log
jq -C <<< '${{ toJson(needs) }}'
# Check if all jobs that we depend on (in the needs array) were successful.
jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MarcoIeni
Copy link
Member Author

MarcoIeni commented Nov 27, 2024

Can you approve rust-lang/team#1615 ? Even if you don't have write access is fine. It's just to have another pair of eyes 👍
This change was required because I renamed the job success to conclusion so that it respects the convention we have in other repos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants