-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update ci_suite.yml * Update autowiki.yml * Update ci_suite.yml * codeowner_reviews didn't exist * Update docker_publish.yml * Update gbp.yml * Update gbp_collect.yml * Update generate_documentation.yml * Update update_tgs_dmapi.yml * resets the folder * token update * label readd * Update .github/workflows/stale.yml Co-authored-by: GoldenAlpharex <[email protected]>
- Loading branch information
1 parent
a3dcd0e
commit bdcffe0
Showing
13 changed files
with
260 additions
and
47 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
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 }} |
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# On a cron, will comment on any PRs that have been test merged. | ||
# Expects secret GET_TEST_MERGES_URL, a URL that, on GET, will return an array of objects with the schema | ||
# { round_id, datetime, test_merges, server, url } | ||
# You can see the moth.fans implementation in Rust here: https://github.com/Mothblocks/mothbus/blob/41fec056824edba0ffdfa39882b67739bf475d83/src/routes/recent_test_merges.rs#L30 | ||
# This is hosted on https://bus.moth.fans/recent-test-merges.json. | ||
name: Test Merge Detector | ||
on: | ||
schedule: | ||
- cron: "*/30 * * * *" | ||
workflow_dispatch: | ||
jobs: | ||
test_merge_bot: | ||
name: Test Merge Detector | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Check for GET_TEST_MERGES_URL | ||
id: secrets_set | ||
env: | ||
ENABLER_SECRET: ${{ secrets.GET_TEST_MERGES_URL }} | ||
run: | | ||
unset SECRET_EXISTS | ||
if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi | ||
echo "::set-output name=GET_TEST_MERGES_URL::$SECRET_EXISTS" | ||
- name: Checkout | ||
if: steps.secrets_set.outputs.GET_TEST_MERGES_URL | ||
uses: actions/checkout@v3 | ||
- name: Prepare module | ||
if: steps.secrets_set.outputs.GET_TEST_MERGES_URL | ||
run: | | ||
# This is needed because node-fetch needs import and doesn't work with require :/ | ||
echo "{\"type\": \"module\"}" > package.json | ||
npm install node-fetch | ||
- name: Check for test merges | ||
if: steps.secrets_set.outputs.GET_TEST_MERGES_URL | ||
uses: actions/github-script@v6 | ||
env: | ||
GET_TEST_MERGES_URL: ${{ secrets.GET_TEST_MERGES_URL }} | ||
with: | ||
script: | | ||
const { processTestMerges } = await import('${{ github.workspace }}/tools/test_merge_bot/main.js') | ||
await processTestMerges({ github, context }) |
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
Oops, something went wrong.