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
|
||||
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@master
|
||||
- uses: actions/checkout@v2
|
||||
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
|
||||
run: |
|
||||
@ -139,13 +143,14 @@ jobs:
|
||||
run: |
|
||||
git config --local user.email ""
|
||||
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
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
||||
branch: refs/heads/${{ github.head_ref }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Build_and_test_macpeas_master:
|
||||
runs-on: macos-latest
|
||||
|
Loading…
Reference in New Issue
Block a user