diff --git a/.github/workflows/check-all-english-links.yml b/.github/workflows/check-all-english-links.yml index 13b4305a62cd..15ea8c0fed86 100644 --- a/.github/workflows/check-all-english-links.yml +++ b/.github/workflows/check-all-english-links.yml @@ -11,6 +11,11 @@ jobs: if: github.repository == 'github/docs-internal' runs-on: ubuntu-latest steps: + - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f + - name: npm ci + run: npm ci + - name: npm run build + run: npm run build - name: Run script run: script/check-english-links.js > broken_links.md - name: Check if any broken links diff --git a/.github/workflows/repo-freeze-check.yml b/.github/workflows/repo-freeze-check.yml new file mode 100644 index 000000000000..1ea8d4b3c325 --- /dev/null +++ b/.github/workflows/repo-freeze-check.yml @@ -0,0 +1,27 @@ +name: Repo Freeze Check + +on: + pull_request: + types: + - opened + - reopened + - synchronize + - ready_for_review + - unlocked + branches: + - main + +env: + FREEZE: ${{ secrets.FREEZE }} + +jobs: + check-freezer: + name: Prevent merging during deployment freezes + runs-on: ubuntu-latest + steps: + + - name: Fail if repo merges are paused + if: ${{ env.FREEZE == 'true' }} + run: | + echo 'Merges into the "main" branch on this repo are currently paused!' + exit 1 diff --git a/content/actions/reference/specifications-for-github-hosted-runners.md b/content/actions/reference/specifications-for-github-hosted-runners.md index 77ee73e11e80..041e4b518948 100644 --- a/content/actions/reference/specifications-for-github-hosted-runners.md +++ b/content/actions/reference/specifications-for-github-hosted-runners.md @@ -31,7 +31,7 @@ You can specify the runner type for each job in a workflow. Each job in a workfl {% data variables.product.prodname_dotcom %} hosts Linux and Windows runners on Standard_DS2_v2 virtual machines in Microsoft Azure with the {% data variables.product.prodname_actions %} runner application installed. The {% data variables.product.prodname_dotcom %}-hosted runner application is a fork of the Azure Pipelines Agent. Inbound ICMP packets are blocked for all Azure virtual machines, so ping or traceroute commands might not work. For more information about the Standard_DS2_v2 machine resources, see "[Dv2 and DSv2-series](https://docs.microsoft.com/azure/virtual-machines/dv2-dsv2-series#dsv2-series)" in the Microsoft Azure documentation. -{% data variables.product.prodname_dotcom %} uses [MacStadium](https://www.macstadium.com/) to host the macOS runners. +{% data variables.product.prodname_dotcom %} hosts macOS runners in {% data variables.product.prodname_dotcom %}'s own macOS Cloud. #### Administrative privileges of {% data variables.product.prodname_dotcom %}-hosted runners