aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/auto-approve.yml
blob: 7e67a92b5f8327338b7ad7185a328216ba87188b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: Auto-Approve Safe PRs
on: pull_request
permissions: {}
jobs:
  auto-approve:
    runs-on: ubuntu-latest
    steps:
      - name: Save the PR number in an artifact
        shell: bash
        env:
          PR_NUM: ${{ github.event.number }}
        run: echo $PR_NUM > pr_num.txt
      - name: Upload the PR number
        uses: actions/upload-artifact@v3
        with:
          name: pr_num
          path: ./pr_num.txt