Skip to content

Commit 32bd2bd

Browse files
Create an otoroshi PR when finishing a new release
1 parent ca6e5e2 commit 32bd2bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: |
6666
git config user.name "github-actions[bot]"
6767
git config user.email "github-actions[bot]@users.noreply.github.com"
68-
git clone https://github.com/MAIF/otoroshi.git --depth 1
68+
git clone https://${{ secrets.OTOROSHI_PAT }}@github.com/MAIF/otoroshi.git --depth 1
6969
cd ./otoroshi
7070
git checkout -b chore/update-coraza-wasm-${{ github.event.inputs.version }}
7171
cp ../coraza-${{ inputs.version }}-crs-${{ steps.read_crs_tag.outputs.crs_tag }}.wasm ./otoroshi/conf/wasm/coraza.wasm
@@ -75,7 +75,7 @@ jobs:
7575
- name: Create Pull Request on MAIF/otoroshi
7676
uses: peter-evans/create-pull-request@v7
7777
with:
78-
token: ${{ secrets.GITHUB_TOKEN }}
78+
token: ${{ secrets.OTOROSHI_PAT }}
7979
path: ./otoroshi
8080
commit-message: |
8181
chore: update coraza.wasm to ${{ github.event.inputs.version }} (CRS ${{ steps.read_crs_tag.outputs.crs_tag }})

0 commit comments

Comments
 (0)