Skip to content

v11.1.0

v11.1.0 #16

Workflow file for this run

name: "Update news on owasp-juice.shop"
on:
release:
types: [ published ]
jobs:
UpdateNewsOnWebsite:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
with:
token: ${{ secrets.BOT_TOKEN }}
repository: OWASP/www-project-juice-shop
branch: master
- name: Update tab_news.md
run: |
sed -i 's/<!-- next:juice-shop-ctf -->/<!-- next:juice-shop-ctf -->\n* ${{ github.event.release.published_at }}: juice-shop-ctf [`${{ github.event.release.tag_name }}`](https:\/\/github.com\/juice-shop\/juice-shop-ctf\/releases\/tag\/${{ github.event.release.tag_name }})/' tab_news.md
- uses: stefanzweifel/[email protected]
with:
commit_message: "Add juice-shop-ctf ${{ github.event.release.tag_name }} release notes to tab_news.md"
branch: master
commit_options: '--signoff'
# Optional commit user and author settings
commit_user_name: JuiceShopBot
commit_user_email: [email protected]
commit_author: JuiceShopBot <[email protected]>