-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/composer/drupal/animated_gif-2.0.5
- Loading branch information
Showing
11 changed files
with
65 additions
and
356 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Set Tugboat Tests Pending | ||
on: | ||
- pull_request_target | ||
permissions: | ||
pull-requests: write | ||
checks: write | ||
contents: write | ||
statuses: write | ||
jobs: | ||
# Tugboat tests are not automatically set pending, even though they are | ||
# required in branch protection rules (see #10553). | ||
# | ||
# Therefore, a PR can inappropriately appear to be ready to merge if, | ||
# for instance, a composer.lock merge conflict prevents the Tugboat | ||
# preview from successfully building. | ||
# | ||
# This action sets these tests pending from an immediate GitHub Action | ||
# so that we can trust our automated code review processes more. | ||
set-tugboat-tests-pending: | ||
name: Set Tugboat Tests Pending | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- name: Set status for Tugboat tasks. | ||
run: | | ||
test_names=( | ||
va/tests/cypress | ||
va/tests/phpunit | ||
va/tests/content-build-gql | ||
va/tests/status-error | ||
) | ||
for test_name in "${test_names[@]}"; do | ||
gh api \ | ||
--method POST \ | ||
-H "Accept: application/vnd.github+json" \ | ||
"/repos/${GITHUB_REPOSITORY}/statuses/${SHA}" \ | ||
-f state='pending' \ | ||
-f context="${test_name}"; | ||
done; | ||
env: | ||
SHA: ${{ github.event.pull_request.head.sha }} | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.