aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/auto-approve.yml
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-08-20 20:41:54 +0900
committerGitHub <noreply@github.com>2023-08-20 20:41:54 +0900
commit7a9d1a0a2fbe71bca9de343c914071ee021e6d8f (patch)
treefe91c983b0eb1919032837bf43e6f0c6bb28c185 /.github/workflows/auto-approve.yml
parent54cef9a1f840096937521dd905126f060a4d3eee (diff)
parent548ded596c9a15ae14335961c1a05995388a6dd6 (diff)
Merge branch 'master' into codeql-workflow
Diffstat (limited to '.github/workflows/auto-approve.yml')
-rw-r--r--.github/workflows/auto-approve.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml
new file mode 100644
index 00000000..5dd3831d
--- /dev/null
+++ b/.github/workflows/auto-approve.yml
@@ -0,0 +1,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 \ No newline at end of file