Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tgstation-server-ci[bot] committed Aug 26, 2024
2 parents 074d1d0 + 27bb29b commit 7340144
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/auto-approve-dominions-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,18 @@ jobs:
if: github.event.pull_request.user.id == 8171642 && !github.event.pull_request.draft && !contains(github.event.pull_request.body, '- [ ]') && (github.event.pull_request.base.repo.owner.login == 'tgstation' || github.event.pull_request.base.repo.owner.login == 'Cyberboss')
runs-on: ubuntu-latest
steps:
- name: Generate App Token
id: app-token-generation
uses: getsentry/action-github-app-token@d4b5da6c5e37703f8c3b3e43abb5705b46e159cc
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: GitHub API Call
run: |
curl --request POST \
--url https://api.github.com/repos/${{github.repository}}/pulls/${{github.event.number}}/reviews \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'authorization: Bearer ${{ steps.app-token-generation.outputs.token }}' \
--header 'content-type: application/json' \
-d '{"event":"APPROVE"}' \
--fail
4 changes: 0 additions & 4 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ concurrency:
group: "dependabot-automerge-${{ github.head_ref || github.run_id }}-${{ github.event_name }}"
cancel-in-progress: true

env:
TGS_DOTNET_VERSION: 8
TGS_DOTNET_QUALITY: ga

jobs:
automerge:
name: Enable Automerge on Dependabot PRs
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/rerun-flaky-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Generate App Token
id: app-token-generation
uses: getsentry/action-github-app-token@d4b5da6c5e37703f8c3b3e43abb5705b46e159cc
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Rerun flaky tests
uses: actions/github-script@v7
with:
github-token: ${{ steps.app-token-generation.outputs.token }}
script: |
const { rerunFlakyTests } = await import('${{ github.workspace }}/.github/workflows/scripts/rerunFlakyTests.js')
await rerunFlakyTests({ github, context })
4 changes: 0 additions & 4 deletions .github/workflows/stable-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
- master
workflow_dispatch:

env:
TGS_DOTNET_VERSION: 8
TGS_DOTNET_QUALITY: ga

jobs:
master-merge:
name: Master Merge
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/update-ss13-org-mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
- "*"
workflow_dispatch:

env:
TGS_DOTNET_VERSION: 8
TGS_DOTNET_QUALITY: ga

concurrency:
group: "ss13-mirror-sync"
cancel-in-progress: true
Expand Down

0 comments on commit 7340144

Please sign in to comment.