mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-09 12:19:09 +00:00
chore(setup-lune_update): make use of github creds for push
This commit is contained in:
parent
1ec11d7827
commit
59a91c9ee0
1 changed files with 4 additions and 1 deletions
5
.github/workflows/action_update.yaml
vendored
5
.github/workflows/action_update.yaml
vendored
|
@ -13,6 +13,9 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Unset GitHub auth configs
|
||||||
|
run: git config --unset-all http.https://github.com/.extraheader
|
||||||
|
|
||||||
- name: Clone remote
|
- name: Clone remote
|
||||||
run: git clone https://github.com/CompeyDev/setup-lune
|
run: git clone https://github.com/CompeyDev/setup-lune
|
||||||
|
|
||||||
|
@ -25,6 +28,6 @@ jobs:
|
||||||
git config --global user.email "hi@devcomp.xyz"
|
git config --global user.email "hi@devcomp.xyz"
|
||||||
git config --global user.name "CI"
|
git config --global user.name "CI"
|
||||||
git diff --quiet || (git add -u && git commit -m "sync: CompeyDev/lune-packaging (${{ github.sha }})")
|
git diff --quiet || (git add -u && git commit -m "sync: CompeyDev/lune-packaging (${{ github.sha }})")
|
||||||
git push
|
git push https://CompeyDev:${{ secrets.GH_AUTH_TOKEN }}@github.com/CompeyDev/setup-lune.git main
|
||||||
working-directory: "setup-lune"
|
working-directory: "setup-lune"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue