summaryrefslogtreecommitdiff
path: root/.github/workflows/auto-approve.yml
blob: 5dd3831d7e85fb760da27c79e6f9104fd4ab0e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
name: Auto-Approve Safe PRs
on: pull_request
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