Update CI-master_tests.yml
This commit is contained in:
parent
0b67b08814
commit
0726fb1256
13
.github/workflows/CI-master_tests.yml
vendored
13
.github/workflows/CI-master_tests.yml
vendored
@ -120,8 +120,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@master
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
# Otherwise, you will failed to push refs to dest repo.
|
||||||
|
fetch-depth: 0
|
||||||
|
ref: refs/heads/${{ github.head_ref }}
|
||||||
|
|
||||||
- name: Build linpeas
|
- name: Build linpeas
|
||||||
run: |
|
run: |
|
||||||
@ -139,13 +143,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --local user.email ""
|
git config --local user.email ""
|
||||||
git config --global user.name "CI-linpeas-ubuntu"
|
git config --global user.name "CI-linpeas-ubuntu"
|
||||||
|
git pull origin "${{ github.ref }}" --autostash --rebase -Xours
|
||||||
git commit -m "linpeas.sh auto update" -a --allow-empty
|
git commit -m "linpeas.sh auto update" -a --allow-empty
|
||||||
|
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
branch: refs/heads/${{ github.head_ref }}
|
||||||
branch: ${{ github.ref }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
Build_and_test_macpeas_master:
|
Build_and_test_macpeas_master:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user