Files
Postea/.github/workflows/buildscript-maintenance.yml
T
Telan 68c6e70f7c ci: only perform build script maintenance on main branches to avoid conflicts
Merge commits will have buildscript changes anyways, and with this active on all branches it will be inconvenient and require pulling things after push, so you won't get in conflict with bot update
2021-11-14 21:41:53 +02:00

25 lines
569 B
YAML

# This workflow only meant for the source mod you shouldn't bring it into your own project
name: Buildscript maintenance
on:
push:
branches: [ master, main ]
jobs:
buildscript-maintenance:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: setup git config
run: |
git config user.name "GitHub CI Bot"
git config user.email "<>"
- name: Ensure build script version is up to date
run: .github/scripts/update-version.sh