Skip to content

Commit a431f43

Browse files
committed
chore: test sha
1 parent b4acc8c commit a431f43

1 file changed

Lines changed: 29 additions & 23 deletions

File tree

.github/workflows/create-release-pr.yml

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ jobs:
6666
pull-requests: write
6767
steps:
6868

69+
- name: Dump GitHub context
70+
env:
71+
GITHUB_CONTEXT: ${{ toJson(github) }}
72+
run: echo "$GITHUB_CONTEXT"
73+
6974
# Step 1: Checkout invoking repository (metamask-mobile | metamask-extension )
7075
- name: Checkout invoking repository
7176
uses: actions/checkout@v4
@@ -79,8 +84,9 @@ jobs:
7984
uses: actions/checkout@v4
8085
with:
8186
repository: MetaMask/github-tools
82-
ref: ${{ inputs.github-tools-version }}
87+
#ref: ${{ inputs.github-tools-version }}
8388
path: github-tools
89+
ref: ${{ github.workflow_sha }}
8490

8591
# Step 3: Setup environment from github-tools
8692
- name: Checkout and setup environment
@@ -110,26 +116,26 @@ jobs:
110116
echo "GitHub SHA: ${{ github.sha }}"
111117
echo "-------------"
112118
113-
# Step 5: Create Release PR
114-
- name: Create Release PR
115-
id: create-release-pr
116-
shell: bash
117-
env:
118-
GITHUB_TOKEN: ${{ secrets.github-token }}
119-
BASE_BRANCH: ${{ inputs.base-branch }}
120-
GITHUB_REPOSITORY_URL: '${{ github.server_url }}/${{ github.repository }}'
121-
TEST_ONLY: ${{ inputs.test-only }}
122-
GOOGLE_DOCUMENT_ID: ${{ inputs.release-sheet-google-document-id }}
123-
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.google-application-creds-base64 }}
124-
NEW_VERSION: ${{ inputs.semver-version }}
125-
MOBILE_TEMPLATE_SHEET_ID: ${{ inputs.mobile-template-sheet-id }}
126-
EXTENSION_TEMPLATE_SHEET_ID: ${{ inputs.extension-template-sheet-id }}
127-
working-directory: ${{ github.workspace }}
128-
run: |
129-
# Execute the script from github-tools
130-
./github-tools/.github/scripts/create-platform-release-pr.sh \
131-
${{ inputs.platform }} \
132-
${{ inputs.previous-version-tag }} \
133-
${{ inputs.semver-version }} \
134-
${{ inputs.mobile-build-version }}
119+
# # Step 5: Create Release PR
120+
# - name: Create Release PR
121+
# id: create-release-pr
122+
# shell: bash
123+
# env:
124+
# GITHUB_TOKEN: ${{ secrets.github-token }}
125+
# BASE_BRANCH: ${{ inputs.base-branch }}
126+
# GITHUB_REPOSITORY_URL: '${{ github.server_url }}/${{ github.repository }}'
127+
# TEST_ONLY: ${{ inputs.test-only }}
128+
# GOOGLE_DOCUMENT_ID: ${{ inputs.release-sheet-google-document-id }}
129+
# GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.google-application-creds-base64 }}
130+
# NEW_VERSION: ${{ inputs.semver-version }}
131+
# MOBILE_TEMPLATE_SHEET_ID: ${{ inputs.mobile-template-sheet-id }}
132+
# EXTENSION_TEMPLATE_SHEET_ID: ${{ inputs.extension-template-sheet-id }}
133+
# working-directory: ${{ github.workspace }}
134+
# run: |
135+
# # Execute the script from github-tools
136+
# ./github-tools/.github/scripts/create-platform-release-pr.sh \
137+
# ${{ inputs.platform }} \
138+
# ${{ inputs.previous-version-tag }} \
139+
# ${{ inputs.semver-version }} \
140+
# ${{ inputs.mobile-build-version }}
135141

0 commit comments

Comments
 (0)