|
66 | 66 | pull-requests: write |
67 | 67 | steps: |
68 | 68 |
|
| 69 | + - name: Dump GitHub context |
| 70 | + env: |
| 71 | + GITHUB_CONTEXT: ${{ toJson(github) }} |
| 72 | + run: echo "$GITHUB_CONTEXT" |
| 73 | + |
69 | 74 | # Step 1: Checkout invoking repository (metamask-mobile | metamask-extension ) |
70 | 75 | - name: Checkout invoking repository |
71 | 76 | uses: actions/checkout@v4 |
|
79 | 84 | uses: actions/checkout@v4 |
80 | 85 | with: |
81 | 86 | repository: MetaMask/github-tools |
82 | | - ref: ${{ inputs.github-tools-version }} |
| 87 | + #ref: ${{ inputs.github-tools-version }} |
83 | 88 | path: github-tools |
| 89 | + ref: ${{ github.workflow_sha }} |
84 | 90 |
|
85 | 91 | # Step 3: Setup environment from github-tools |
86 | 92 | - name: Checkout and setup environment |
@@ -110,26 +116,26 @@ jobs: |
110 | 116 | echo "GitHub SHA: ${{ github.sha }}" |
111 | 117 | echo "-------------" |
112 | 118 |
|
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 }} |
135 | 141 |
|
0 commit comments