Skip to content

Commit 0e14a23

Browse files
authored
chore: keep only creating authors PR if someone forgot to add himself to authors
1 parent a4af6eb commit 0e14a23

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/on_merge.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ jobs:
3939
token: ${{ secrets.GITHUB_TOKEN }}
4040
commit-message: "chore: update AUTHORS.md"
4141
title: "chore: update AUTHORS.md"
42-
body: "This PR updates the AUTHORS.md file."
42+
body: "This PR updates the AUTHORS.md file. Related to PR #${{ github.event.pull_request.number }}"
4343
branch: feat/update-authors-md
4444
base: main
45-
46-
- name: Login and merge PR with gh
47-
if: env.CHANGED == 'true'
48-
run: |
49-
echo ${{ secrets.GITHUB_TOKEN }} > token.txt
50-
gh auth login --with-token < token.txt
51-
gh pr merge --auto --squash --delete-branch

0 commit comments

Comments
 (0)