mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-11 06:15:05 +00:00
ci: Author Information and Upstream Branch
This commit is contained in:
parent
9857194794
commit
e38f117abe
1 changed files with 15 additions and 3 deletions
18
.github/workflows/authors.yml
vendored
18
.github/workflows/authors.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: Refresh
|
||||
name: Authors
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
|
@ -13,6 +13,18 @@ jobs:
|
|||
steps:
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v2
|
||||
- name: "Configure"
|
||||
shell: bash
|
||||
run: |
|
||||
git config --global user.name 'GitHub Actions'
|
||||
git config --global user.email 'xaymar@users.noreply.github.com'
|
||||
git config pull.ff only
|
||||
git config pull.rebase true
|
||||
- name: "Remotes"
|
||||
shell: bash
|
||||
run: |
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
|
||||
git fetch --all
|
||||
- name: "Dependecies"
|
||||
shell: bash
|
||||
run: |
|
||||
|
@ -31,5 +43,5 @@ jobs:
|
|||
node ./generate-contributors.js "${{ github.workspace }}/AUTHORS.md" "${{ github.workspace }}/data/thanks.json"
|
||||
popd > /dev/null
|
||||
git add .
|
||||
git commit -a -m="project: Generate contributor attribution files"
|
||||
git push -f
|
||||
git commit -a -m "project: Update Contributors and Supporters"
|
||||
git push -f --set-upstream origin authors
|
||||
|
|
Loading…
Reference in a new issue