Sample labels should not be transferred to openbis #282
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Label issues | |
| on: | |
| issues: | |
| types: | |
| - reopened | |
| - opened | |
| jobs: | |
| label_issues: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - run: gh issue edit "$NUMBER" --add-label "$LABELS" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| NUMBER: ${{ github.event.issue.number }} | |
| LABELS: triage | |
| - run: gh project list --owner qbicsoftware | |
| env: | |
| GH_TOKEN: ${{secrets.ISSUE_MANAGEMENT}} | |
| - run: gh project item-add "$PROJECT" --owner qbicsoftware --url "$ISSUE_URL" | |
| env: | |
| PROJECT: 25 | |
| ISSUE_URL: ${{ github.event.issue.html_url }} | |
| GH_TOKEN: ${{ secrets.ISSUE_MANAGEMENT }} | |
| GH_REPO: ${{ github.repository }} |