MK1 Mag Boxes and 10x28mm ammo cans #111
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creates an entry in html/changelogs automatically, to eventually be compiled by compile_changelogs | |
name: Auto Changelog | |
on: | |
pull_request_target: | |
types: | |
- closed | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
auto_changelog: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run auto changelog | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const { processAutoChangelog } = await import('${{ github.workspace }}/tools/pull_request_hooks/autoChangelog.js') | |
await processAutoChangelog({ github, context }) | |
github-token: ${{ secrets.BOT_TOKEN_CM || secrets.GITHUB_TOKEN }} |