mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Updated runners to ubuntu 2024.04 LTS Consolidated some node cache utilization in its own action Updated merge conflict detector action version PRs with merge conflicts now get the Review Required tag removed, and PRs that had a conflict get a comment remembering the author to mark them as ready to review if they are ready once the conflict is resolved
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
name: Update TGS DMAPI
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update-dmapi:
|
|
runs-on: ubuntu-24.04
|
|
name: Update the TGS DMAPI
|
|
steps:
|
|
- name: Clone
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Branch
|
|
run: |
|
|
git branch -f tgs-dmapi-update
|
|
git checkout tgs-dmapi-update
|
|
git reset --hard master
|
|
|
|
- name: Apply DMAPI update
|
|
uses: tgstation/tgs-dmapi-updater@v2
|
|
with:
|
|
header-path: 'code/__defines/tgs.dm'
|
|
library-path: 'code/modules/tgs'
|
|
|
|
- name: Commit and Push
|
|
continue-on-error: true
|
|
run: |
|
|
git config --local user.email "action@github.com"
|
|
git config --local user.name "AuroraBuildBot"
|
|
git add .
|
|
git commit -m 'Update TGS DMAPI'
|
|
git push -f -u origin tgs-dmapi-update
|
|
|
|
- name: Create Pull Request
|
|
uses: repo-sync/pull-request@v2
|
|
if: ${{ success() }}
|
|
with:
|
|
source_branch: "tgs-dmapi-update"
|
|
destination_branch: "master"
|
|
pr_title: "Automatic TGS DMAPI Update"
|
|
pr_body: "This pull request updates the TGS DMAPI to the latest version. Please note any changes that may be breaking or unimplemented in your codebase by checking what changes are in the definitions file: code/__DEFINES/tgs.dm before merging."
|
|
pr_label: "Tools"
|
|
pr_allow_empty: false
|
|
github_token: ${{ secrets.BOT_TOKEN_AURORA }}
|