remove usages of /tmp/ #1269
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
name: Autochangelog | |
on: | |
pull_request_target: | |
types: closed | |
branches: | |
- master | |
env: | |
BASENAME: "polaris" | |
jobs: | |
autochangelog: | |
name: Autochangelog | |
runs-on: ubuntu-20.04 | |
if: github.event.pull_request.merged == true | |
permissions: | |
contents: write | |
steps: | |
- uses: /actions/checkout@v3 | |
with: | |
ref: master | |
- name: Update repository to master | |
run: git pull "origin" master | |
- name: Ensure +x on CI directory | |
run: | | |
chmod -R +x ./tools/ci | |
- name: Generate Changelog | |
run: | | |
pip install pyyaml | |
python tools/GenerateChangelog/ss13_autochangelog.py \ | |
html/changelogs \ | |
${{ github.event.pull_request.number }} \ | |
"${{ github.event.pull_request.user.login }}" \ | |
"${{ github.event.pull_request.body }}" | |
python tools/GenerateChangelog/ss13_genchangelog.py \ | |
html/changelog.html \ | |
html/changelogs | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Automatic changelog generation for ${{ github.events.pull_request.number }} | |
branch: ${{ github.events.pull_request.base }} | |
commit_user_name: Autochangelog Bot |