Skip to content

Commit

Permalink
server: update github actions (#4312)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimach authored Jan 30, 2024
1 parent ebca727 commit a827cad
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 21 deletions.
17 changes: 10 additions & 7 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# When the .py is changed
python:
- './*.py'
- '**/*.py'
- changed-files:
- any-glob-to-any-file: '**/*.py'

# Javascript changes
javascript:
- '**/*.js'
- changed-files:
- any-glob-to-any-file: '**/*.js'

# Any .dmi changes
DMI:
- '**/*.dmi'
- changed-files:
- any-glob-to-any-file: '**/*.dmi'

# Changes to a .dmm
MAP:
- '**/*.dmm'
- changed-files:
- any-glob-to-any-file: '**/*.dmm'

# Encompasses both the tgui and the tgui-next folder
TGUI:
- 'tgui/**'
- 'tgui-next/**'
- changed-files:
- any-glob-to-any-file: ['tgui/**', 'tgui-next/**']
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
name: Run Linters
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: $HOME/SpacemanDMM
key: ${{ runner.os }}-spacemandmm
Expand All @@ -45,9 +45,9 @@ jobs:
name: Compile All Maps
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: $HOME/BYOND
key: ${{ runner.os }}-byond
Expand Down Expand Up @@ -75,9 +75,9 @@ jobs:
- 3306
options: --health-cmd "mariadb-admin ping" --health-interval 10s --health-timeout 5s --health-retries 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: $HOME/BYOND
key: ${{ runner.os }}-byond
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dmi5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ParadiseSS13/DMI5Checker@v1
with:
icons-path: 'icons'
2 changes: 1 addition & 1 deletion .github/workflows/generate_autodoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: 'Update Branch'
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
app_id: ${{ secrets.CHANGELOGBOT_APPID }}
private_key: ${{ secrets.CHANGELOGBOT_PRIVATEKEY }}
- name: 'Update Branch'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'ss220-space/Paradise'
token: ${{ steps.changelog-bot.outputs.token }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ on:
- pull_request_target

jobs:
triage:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/render_nanomaps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: 'Update Branch'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Branch
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_tgs_dmapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Update the TGS DMAPI
steps:
- name: Clone
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Branch
run: |
Expand Down

0 comments on commit a827cad

Please sign in to comment.