Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
flrgh committed Nov 8, 2023
1 parent ae13eed commit aafacee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-ngx-wasm-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ jobs:
echo "sha=$SHA" | tee -a "$GITHUB_OUTPUT"
- name: Update .requirements and create a pull request
if: check-kong.outputs.sha != check-repo.outputs.sha
if: steps.check-kong.outputs.sha != steps.check-repo.outputs.sha
run: |
readonly BRANCH=chore/deps-bump-ngx-wasm-module
git switch --create "$BRANCH"
sed -i \
-re 's/^NGX_WASM_MODULE=.*/NGX_WASM_MODULE=${{ check-repo.outputs.sha }}/' \
-re 's/^NGX_WASM_MODULE=.*/NGX_WASM_MODULE=${{ steps.check-repo.outputs.sha }}/' \
.requirements
git add .requirements
git commit \
-m 'chore(deps): bump NGX_WASM_MODULE to ${{ check-repo.outputs.sha }}'
-m 'chore(deps): bump NGX_WASM_MODULE to ${{ steps.check-repo.outputs.sha }}'
# TODO: handle branch-already-exists
Expand Down

0 comments on commit aafacee

Please sign in to comment.