summaryrefslogtreecommitdiff
path: root/.github/workflows/auto-approve.yml
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-08-20 20:31:58 +0900
committerGitHub <noreply@github.com>2023-08-20 20:31:58 +0900
commite0710eaf3399bc699a68afc1e0ad2a512da79953 (patch)
tree38acb6298bd4b2227e451960c116a7f46268d249 /.github/workflows/auto-approve.yml
parent5c65ce5871b50f7bd1e5f52264e0f5bbc8a3749e (diff)
parent5e7758459675289283899010fb96dc776e7465be (diff)
Merge branch 'master' into create-codeowners
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