summaryrefslogtreecommitdiff
path: root/.github/workflows/auto-approve.yml
blob: 250903fcc0eb18d07b0c0ea8e47eac57141ee0bb (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@v2
        with:
          name: pr_num
          path: ./pr_num.txt