-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ci(project): move add-to-project job into a separate workflow #12659
ci(project): move add-to-project job into a separate workflow #12659
Conversation
✅ Deploy Preview for carbon-components-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
…ope-add-to-project-workflow
add-to-proposals-project: | ||
name: Add issue with enhancement label to the Proposals project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/add-to-project@v0.4.0 | ||
with: | ||
labeled: ${{ env.LABEL_ENHANCEMENT }} | ||
project-url: ${{ env.PROPOSALS_PROJECT_URL }} | ||
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} |
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.
@sstrubberg Based on our conversations yesterday, I just added this here that will add issues with the type: enhancement 💡 label to the Proposals project. These will no longer be added to the Design System project by default. Let me know what you think!
This moves the
add-to-project
job into its own workflow file. This way we can more granularly control when it's ran.In the previous set up, if you had removed an issue from the project and then commented on the issue, the workflow would run again moving it back into the project.
With this change, issues will be automatically added to the project only when the issue is created or labelled.
Changelog
New
add-to-project
workflow fileRemoved
add-to-project
from issue triage workflow file