Merge branch 'master' of https://github.com/goonstation/goonstation #45
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: "Update Changelog" | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update-changelog: | |
runs-on: ubuntu-latest | |
if: github.repository == 'goonstation/goonstation' | |
steps: | |
- name: Get The Script | |
run: | | |
wget "https://raw.githubusercontent.com/${{ github.repository }}/master/.github/update_changelog.py" | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pygithub pytz | |
- name: Update Changelog | |
run: | | |
python update_changelog.py | |
env: | |
REPO: ${{ github.repository }} | |
TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CHANGELOG_PATH: strings/changelog.txt | |
ASS_CHANGELOG_PATH: strings/ass_changelog.txt | |
GIT_EMAIL: "[email protected]" | |
GIT_NAME: "robuddybot" |