Skip to content

Commit 3e6773b

Browse files
authored
Use the base branch SHA for GitHub action.
When running our GitHub action, let's try to use the base SHA for the target branch instead of the base SHA for the PR branch.
1 parent e7f2d4d commit 3e6773b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/auto-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ jobs:
99
runs-on: ubuntu-20.04
1010
steps:
1111
- uses: actions/checkout@v2
12+
with:
13+
ref: "${{ github.event.pull_request.base.sha }}"
1214
- uses: w3c/spec-prod@v2
1315
with:
1416
GH_PAGES_BRANCH: gh-pages
1517
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }}
1618
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-secondscreen/2022Apr/0007.html
1719
W3C_BUILD_OVERRIDE: |
18-
specStatus: CRD
20+
specStatus: CRD

0 commit comments

Comments
 (0)