We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent babade0 commit 8b82a95Copy full SHA for 8b82a95
.github/workflows/main.yml
@@ -0,0 +1,27 @@
1
+name: Auto Update Authors
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # Triggers when changes are pushed to main
7
8
+jobs:
9
+ update-authors:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
+ pull-requests: write
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ with:
17
+ fetch-depth: 0 # Required to get full git history for some operations
18
+ - name: Update AUTHORS file
19
+ run: |
20
+ git log --format='%aN <%aE>%n%cN <%cE>' | sort -u > AUTHORS
21
+ - name: Create Pull Request
22
+ uses: peter-evans/create-pull-request@v6
23
24
+ commit-message: Update authors
25
+ title: Update AUTHORS
26
+ body: Automated update of the AUTHORS file.
27
+ branch: update-authors
0 commit comments