name: PR automation on: pull_request_target: types: - labeled - opened - synchronize permissions: {} concurrency: group: pr-commands-${{ github.event.number }} jobs: main: permissions: contents: read pull-requests: write runs-on: ubuntu-latest steps: - name: Checkout Actions uses: actions/checkout@v4 # v4.2.2 with: repository: "grafana/grafana-github-actions" path: ./actions ref: main persist-credentials: false - name: Install Actions run: npm install --production --prefix ./actions - name: Run Commands uses: ./actions/commands with: token: ${{ secrets.GITHUB_TOKEN }} configPath: pr-commands