Skip to content

Commit f994cca

Browse files
committed
fix CI workflows for GitHub Actions compatibility
- Replace Consensys-specific GitHub token with standard GITHUB_TOKEN - Update ubuntu runner to use ubuntu-latest instead of ubuntu-24.04 - Add fallback values for workflow inputs to prevent type errors - Add missing newline to main.yml
1 parent bd6fc25 commit f994cca

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
if: matrix.language != 'github-actions'
3939
uses: github/codeql-action/autobuild@v3
4040
env:
41-
GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN_RELEASE_ACCESS }}
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242

4343
- name: Perform CodeQL Analysis
4444
uses: github/codeql-action/analyze@v3

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ jobs:
140140
if: ${{ needs.filter-commit-changes.outputs.has-changes-requiring-build == 'true' }}
141141
uses: ./.github/workflows/testing.yml
142142
with:
143-
coordinator_changed: ${{ needs.filter-commit-changes.outputs.coordinator }}
144-
linea_sequencer_changed: ${{ needs.filter-commit-changes.outputs.linea-sequencer-plugin }}
145-
postman_changed: ${{ needs.filter-commit-changes.outputs.postman }}
146-
prover_changed: ${{ needs.filter-commit-changes.outputs.prover }}
147-
smart_contracts_changed: ${{ needs.filter-commit-changes.outputs.smart-contracts }}
148-
staterecovery_changed: ${{ needs.filter-commit-changes.outputs.staterecovery }}
149-
transaction_exclusion_api_changed: ${{ needs.filter-commit-changes.outputs.transaction-exclusion-api }}
143+
coordinator_changed: ${{ needs.filter-commit-changes.outputs.coordinator || 'false' }}
144+
linea_sequencer_changed: ${{ needs.filter-commit-changes.outputs.linea-sequencer-plugin || 'false' }}
145+
postman_changed: ${{ needs.filter-commit-changes.outputs.postman || 'false' }}
146+
prover_changed: ${{ needs.filter-commit-changes.outputs.prover || 'false' }}
147+
smart_contracts_changed: ${{ needs.filter-commit-changes.outputs.smart-contracts || 'false' }}
148+
staterecovery_changed: ${{ needs.filter-commit-changes.outputs.staterecovery || 'false' }}
149+
transaction_exclusion_api_changed: ${{ needs.filter-commit-changes.outputs.transaction-exclusion-api || 'false' }}
150150
secrets: inherit
151151

152152
# Always complete successfully even if no tests run
@@ -160,4 +160,4 @@ jobs:
160160
echo "🎉 CI workflow completed"
161161
echo "Health check: ${{ needs.ci-health-check.result }}"
162162
echo "Testing needed: ${{ needs.filter-commit-changes.outputs.has-changes-requiring-build }}"
163-
echo "Testing result: ${{ needs.testing.result || 'skipped' }}"
163+
echo "Testing result: ${{ needs.testing.result || 'skipped' }}"

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
# If all jobs are skipped, the workflow will still succeed.
7171
always_succeed:
72-
runs-on: ubuntu-24.04
72+
runs-on: ubuntu-latest
7373
if: ${{ inputs.coordinator_changed == 'false' && inputs.prover_changed == 'false' && inputs.postman_changed == 'false' && inputs.transaction_exclusion_api_changed == 'false' }}
7474
steps:
7575
- name: Ensure Workflow Success

0 commit comments

Comments
 (0)