parent
97e5d760f8
commit
a0fcc7b305
|
@ -27,5 +27,5 @@ jobs:
|
|||
message: 'chore: generate CVEs metadata 🤖'
|
||||
- name: Push changes
|
||||
run: |
|
||||
git pull --rebase
|
||||
git pull origin $GITHUB_REF --rebase
|
||||
git push origin $GITHUB_REF
|
||||
|
|
|
@ -30,7 +30,9 @@ jobs:
|
|||
with:
|
||||
files: '${{ env.NEW_ADDITION_FILE }}'
|
||||
message: 'chore: generate new addition list 🤖'
|
||||
- run: git push origin $GITHUB_REF
|
||||
- run: |
|
||||
git pull origin $GITHUB_REF --rebase
|
||||
git push origin $GITHUB_REF
|
||||
|
||||
sync:
|
||||
needs: new-addition
|
||||
|
|
|
@ -17,8 +17,6 @@ jobs:
|
|||
if: github.repository == 'projectdiscovery/nuclei-templates'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: projectdiscovery/actions/generate/checksum@v1
|
||||
with:
|
||||
templates-directory: '${{ github.workspace }}'
|
||||
|
@ -30,5 +28,5 @@ jobs:
|
|||
message: 'chore: generate templates checksum 🤖'
|
||||
- name: Push changes
|
||||
run: |
|
||||
git pull --rebase
|
||||
git pull origin $GITHUB_REF --rebase
|
||||
git push origin $GITHUB_REF
|
||||
|
|
|
@ -28,5 +28,5 @@ jobs:
|
|||
message: 'chore: sign templates 🤖'
|
||||
- name: Push changes
|
||||
run: |
|
||||
git pull --rebase
|
||||
git push origin ${{ github.ref }}
|
||||
git pull origin $GITHUB_REF --rebase
|
||||
git push origin $GITHUB_REF
|
||||
|
|
|
@ -9,8 +9,6 @@ jobs:
|
|||
if: github.repository == 'projectdiscovery/nuclei-templates'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: projectdiscovery/actions/setup/templateman@v1
|
||||
with:
|
||||
token: '${{ secrets.ACCESS_TOKEN }}'
|
||||
|
@ -21,5 +19,5 @@ jobs:
|
|||
message: 'chore: update TemplateMan 🤖'
|
||||
- name: Push changes
|
||||
run: |
|
||||
git pull --rebase
|
||||
git pull origin $GITHUB_REF --rebase
|
||||
git push origin $GITHUB_REF
|
||||
|
|
Loading…
Reference in New Issue