oncall-engine/.github/workflows/issue_commands.yml
Michael Derynck 78bbfe0c4c
Update tokens used by GH Actions (#1102)
Separate tokens for GH actions with minimal scope
2023-01-09 10:14:07 -07:00

23 lines
No EOL
613 B
YAML

name: Run commands when issues are labeled
on:
issues:
types: [labeled]
pull_request:
types: [labeled]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "grafana/grafana-github-actions"
path: ./actions
ref: main
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Commands
uses: ./actions/commands
with:
token: ${{secrets.GH_ISSUE_COMMANDS}}
configPath: issue_and_pr_commands