rustic/.github/workflows/triage.yml
simonsan 0c9073aaad
ci: Run actions that need secrets.GITHUB_TOKEN only on rustic-rs org
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2023-11-29 12:36:53 +01:00

17 lines
370 B
YAML

on:
issues:
types:
- opened
jobs:
label_issue:
if: ${{ github.repository_owner == 'rustic-rs' }}
name: Label issue
runs-on: ubuntu-latest
steps:
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE_URL: ${{ github.event.issue.html_url }}
run: |
gh issue edit $ISSUE_URL --add-label "S-triage"