Skip to content

Commit

Permalink
Revert workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalFaceLesS committed Oct 13, 2024
1 parent 10d4924 commit 26d000b
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 11 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- master
jobs:
run_linters:
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
if: "!contains(github.event.head_commit.message, '[ci skip]')"
name: Run Linters
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -70,7 +70,6 @@ jobs:
~/dreamchecker > ${GITHUB_WORKSPACE}/output-annotations.txt 2>&1
- name: Annotate Lints
if: always()
uses: yogstation13/DreamAnnotate@v2
with:
outputFile: output-annotations.txt
Expand All @@ -84,7 +83,7 @@ jobs:
cat check_regex_output.txt
compile_all_maps:
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
if: "!contains(github.event.head_commit.message, '[ci skip]')"
name: Compile Maps
runs-on: ubuntu-latest
steps:
Expand All @@ -106,7 +105,7 @@ jobs:
tools/build/build --ci dm -DCIBUILDING -DCITESTING -DALL_MAPS -DFULL_INIT
run_all_tests:
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
if: "!contains(github.event.head_commit.message, '[ci skip]')"
name: Integration Tests
strategy:
fail-fast: false
Expand Down Expand Up @@ -136,7 +135,7 @@ jobs:
# minor: ${{ matrix.minor }}

test_windows:
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
if: "!contains(github.event.head_commit.message, '[ci skip]')"
name: Windows Build
runs-on: windows-latest
steps:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/codeowner_reviews.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Codeowner Reviews

# Controls when the workflow will run
on: pull_request_target

jobs:
assign-users:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so the job can access it
- uses: actions/checkout@v3

#Parse the Codeowner file
- name: CodeOwnersParser
id: CodeOwnersParser
uses: tgstation/CodeOwnersParser@v1

#Request reviews
- name: Request reviews
if: steps.CodeOwnersParser.outputs.owners != ''
uses: tgstation/RequestReviewFromUser@v1
with:
separator: " "
users: ${{ steps.CodeOwnersParser.outputs.owners }}
2 changes: 1 addition & 1 deletion .github/workflows/compile_changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
if: steps.value_holder.outputs.ACTIONS_ENABLED
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.TOKEN || secrets.CHANGELOG_TOKEN || secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.CHANGELOG_TOKEN || secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/make_changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
pip install ruamel.yaml PyGithub
- name: Make CL
env:
GITHUB_TOKEN: ${{ secrets.TOKEN || secrets.CHANGELOG_TOKEN || secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CHANGELOG_TOKEN || secrets.GITHUB_TOKEN }}
GIT_EMAIL: "[email protected]"
GIT_NAME: "Changelogs"
run: python tools/changelog/generate_cl.py
2 changes: 1 addition & 1 deletion .github/workflows/round_id_linker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
steps:
- uses: shiptest-ss13/[email protected]
with:
repo-token: ${{ secrets.TOKEN || secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
link-url: "https://shiptest.net/stats/rounds/"
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.TOKEN || secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This PR has been inactive for a month. This means it is at risk of being auto closed in a week, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself"
days-before-stale: 30
days-before-close: 7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tgs_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ jobs:
uses: actions/checkout@v3

- name: Test TGS Integration
run: dotnet run -c Release --project tools/tgs_test ${{ github.repository }} /tgs_instances/tgstation ${{ env.TGS_API_PORT }} ${{ github.event.pull_request.head.sha || github.sha }} ${{ secrets.TOKEN || secrets.GITHUB_TOKEN }} ${{ env.PR_NUMBER }}
run: dotnet run -c Release --project tools/tgs_test ${{ github.repository }} /tgs_instances/tgstation ${{ env.TGS_API_PORT }} ${{ github.event.pull_request.head.sha || github.sha }} ${{ secrets.GITHUB_TOKEN }} ${{ env.PR_NUMBER }}
2 changes: 1 addition & 1 deletion .github/workflows/update_tgs_dmapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
pr_body: "This pull request updates the TGS DMAPI to the latest version. Please note any breaking or unimplemented changes before merging."
pr_label: "Tools"
pr_allow_empty: false
github_token: ${{ secrets.TOKEN || secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 26d000b

Please sign in to comment.