aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/auto-approve.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/auto-approve.yml')
-rw-r--r--.github/workflows/auto-approve.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml
new file mode 100644
index 00000000..7e67a92b
--- /dev/null
+++ b/.github/workflows/auto-approve.yml
@@ -0,0 +1,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 \ No newline at end of file