-
Notifications
You must be signed in to change notification settings - Fork 616
ci: add checkout for staff label workflow #6160
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
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a failing workflow by adding the missing checkout step before running git commands in the staff label action.
- Added a repository checkout step
- Ensures the workflow runs in a proper Git context
@@ -13,6 +13,8 @@ jobs: | |||
env: | |||
GH_TOKEN: ${{ github.token }} | |||
steps: | |||
- name: Checkout repository | |||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider pinning to a version tag like actions/checkout@v3
instead of a specific commit SHA to benefit from bug fixes and improvements while maintaining stability.
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
uses: actions/checkout@v3 |
Copilot uses AI. Check for mistakes.
size-limit report 📦
|
Noticed that our action was failing with this message:
This PR adds a checkout before running the command to avoid this.
Changelog
New
Changed
Removed