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