diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index daae8071338f..abb26aeaeeb8 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -29,6 +29,9 @@ jobs: echo "::set-output name=out::$(git rev-parse HEAD)" id: engine_version - name: Run script on centcomm + env: + CENTCOMM_ROBUST_BENCHMARK_RUNNER_KEY: ${{ secrets.CENTCOMM_ROBUST_BENCHMARK_RUNNER_KEY }} + if: env.CENTCOMM_ROBUST_BENCHMARK_RUNNER_KEY # stop it from being fucking annoying uses: appleboy/ssh-action@master with: host: centcomm.spacestation14.io diff --git a/.github/workflows/labeler-review.yml b/.github/workflows/labeler-review.yml index cc9ded410877..33fda4606def 100644 --- a/.github/workflows/labeler-review.yml +++ b/.github/workflows/labeler-review.yml @@ -5,28 +5,28 @@ # # SPDX-License-Identifier: AGPL-3.0-or-later -#name: "Labels: Approved" -# -#on: -# pull_request_review: -# types: [submitted] -# -#jobs: -# add_label: -# # Change the repository name after you've made sure the team name is correct for your fork! -# if: ${{ (github.repository == 'Goob-Station/Goob-Station') && (github.event.review.state == 'APPROVED') }} -# permissions: -# contents: read -# pull-requests: write -# runs-on: ubuntu-latest -# steps: -# - uses: tspascoal/get-user-teams-membership@v3 -# id: checkUserMember -# with: -# username: ${{ github.actor }} -# team: "maintainers" -# GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} -# - if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }} -# uses: actions-ecosystem/action-add-labels@v1 -# with: -# labels: "S: Approved" +name: "Labels: Approved" + +on: + pull_request_review: + types: [submitted] + +jobs: + add_label: + # Change the repository name after you've made sure the team name is correct for your fork! + if: ${{ (github.repository == 'Goob-Station/Goob-Station') && (github.event.review.state == 'APPROVED') }} + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: tspascoal/get-user-teams-membership@v3 + id: checkUserMember + with: + username: ${{ github.actor }} + team: "maintainers" + GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} + - if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }} + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: "S: Approved" diff --git a/.github/workflows/publish-testing.yml b/.github/workflows/publish-testing.yml index 1b1344315a44..639729866e0f 100644 --- a/.github/workflows/publish-testing.yml +++ b/.github/workflows/publish-testing.yml @@ -44,3 +44,4 @@ jobs: env: PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }} + if: env.PUBLISH_TOKEN