Skip to content

Commit b69af4e

Browse files
Fix duplicate workflows in root-level directories and palimpsest-license
Replace duplicate workflow implementations with calls to root reusable workflows (*-reusable.yml) in: - axel-protocol/ - consent-aware-http/ - lol/ - meta-a2ml/ - rhodium-standard-repositories/satellites/palimpsest-license/ Fix relative paths from ../ to ../../ for depth-1 directories. Remove instant-sync.yml duplicates. Part of estate-wide CI/CD deduplication. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent 7f79497 commit b69af4e

31 files changed

Lines changed: 103 additions & 834 deletions
Lines changed: 15 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,23 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
12-
name: "CodeQL Advanced"
1+
# SPDX-License-Identifier: MPL-2.0
2+
name: CodeQL Security Analysis
133

144
on:
155
push:
16-
branches: [ "main" ]
6+
branches: [main, master]
177
pull_request:
18-
branches: [ "main" ]
8+
branches: [main, master]
199
schedule:
20-
- cron: '18 10 * * 3'
10+
- cron: '0 6 * * 1'
2111

22-
permissions: read-all
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: false
2315

24-
jobs:
25-
analyze:
26-
name: Analyze (${{ matrix.language }})
27-
# Runner size impacts CodeQL analysis time. To learn more, please see:
28-
# - https://gh.io/recommended-hardware-resources-for-running-codeql
29-
# - https://gh.io/supported-runners-and-hardware-resources
30-
# - https://gh.io/using-larger-runners (GitHub.com only)
31-
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
32-
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
33-
timeout-minutes: 30
34-
permissions:
35-
# required for all workflows
36-
security-events: write
37-
38-
# required to fetch internal or private CodeQL packs
39-
packages: read
40-
41-
# only required for workflows in private repositories
42-
actions: read
43-
contents: read
44-
45-
strategy:
46-
fail-fast: false
47-
matrix:
48-
include:
49-
- language: actions
50-
build-mode: none
51-
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
52-
# Use `c-cpp` to analyze code written in C, C++ or both
53-
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
54-
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
55-
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
56-
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
57-
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
58-
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
59-
steps:
60-
- name: Checkout repository
61-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
62-
63-
# Add any setup steps before running the `github/codeql-action/init` action.
64-
# This includes steps like installing compilers or runtimes (`actions/setup-node`
65-
# or others). This is typically only required for manual builds.
66-
# - name: Setup runtime (example)
67-
# uses: actions/setup-example@v1
16+
permissions:
17+
contents: read
6818

69-
# Initializes the CodeQL tools for scanning.
70-
- name: Initialize CodeQL
71-
uses: github/codeql-action/init@b2f9ef845756500b97acbdaf5c1dd4e9c1d15734 # v3
72-
with:
73-
languages: ${{ matrix.language }}
74-
build-mode: ${{ matrix.build-mode }}
75-
# If you wish to specify custom queries, you can do so here or in a config file.
76-
# By default, queries listed here will override any specified in a config file.
77-
# Prefix the list here with "+" to use these queries and those in the config file.
78-
79-
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
80-
# queries: security-extended,security-and-quality
81-
82-
# If the analyze step fails for one of the languages you are analyzing with
83-
# "We were unable to automatically build your code", modify the matrix above
84-
# to set the build mode to "manual" for that language. Then modify this step
85-
# to build your code.
86-
# ℹ️ Command-line programs to run using the OS shell.
87-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
88-
- name: Run manual build steps
89-
if: matrix.build-mode == 'manual'
90-
shell: bash
91-
run: |
92-
echo 'If you are using a "manual" build mode for one or more of the' \
93-
'languages you are analyzing, replace this with the commands to build' \
94-
'your code, for example:'
95-
echo ' make bootstrap'
96-
echo ' make release'
97-
exit 1
98-
99-
- name: Perform CodeQL Analysis
100-
uses: github/codeql-action/analyze@b2f9ef845756500b97acbdaf5c1dd4e9c1d15734 # v3
101-
with:
102-
category: "/language:${{matrix.language}}"
19+
jobs:
20+
analyze-actions:
21+
uses: ../../.github/workflows/codeql-reusable.yml
22+
with:
23+
language: actions

axel-protocol/.github/workflows/governance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ permissions:
2323

2424
jobs:
2525
governance:
26-
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@861b5e911d9e5dcfb3c0ab3dd2a9a3c8fd0a1613
26+
uses: ../../.github/workflows/governance-reusable.yml
Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,16 @@
11
# SPDX-License-Identifier: MPL-2.0
22
name: OSSF Scorecard
3+
34
on:
45
push:
56
branches: [main, master]
67
schedule:
7-
- cron: '0 4 * * *'
8+
- cron: '0 4 * * 0'
89
workflow_dispatch:
910

1011
permissions: read-all
1112

1213
jobs:
1314
analysis:
14-
runs-on: ubuntu-latest
15-
timeout-minutes: 20
16-
permissions:
17-
security-events: write
18-
id-token: write
19-
steps:
20-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
21-
with:
22-
persist-credentials: false
23-
24-
- name: Run Scorecard
25-
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.3.1
26-
with:
27-
results_file: results.sarif
28-
results_format: sarif
29-
30-
- name: Upload results
31-
uses: github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v3.31.8
32-
with:
33-
sarif_file: results.sarif
15+
uses: ../../.github/workflows/scorecard-reusable.yml
16+
secrets: inherit

consent-aware-http/.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ permissions:
1818

1919
jobs:
2020
analyze-js:
21-
uses: ../.github/workflows/codeql-reusable.yml
21+
uses: ../../.github/workflows/codeql-reusable.yml
2222
with:
2323
language: javascript-typescript

consent-aware-http/.github/workflows/governance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ permissions:
2323

2424
jobs:
2525
governance:
26-
uses: ../.github/workflows/governance-reusable.yml
26+
uses: ../../.github/workflows/governance-reusable.yml

consent-aware-http/.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ permissions:
1717

1818
jobs:
1919
scan:
20-
uses: ../.github/workflows/hypatia-scan-reusable.yml
20+
uses: ../../.github/workflows/hypatia-scan-reusable.yml
2121
secrets: inherit

consent-aware-http/.github/workflows/mirror.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ permissions:
1111

1212
jobs:
1313
mirror:
14-
uses: ../.github/workflows/mirror-reusable.yml
14+
uses: ../../.github/workflows/mirror-reusable.yml
1515
secrets: inherit

consent-aware-http/.github/workflows/scorecard-enforcer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ permissions:
1414

1515
jobs:
1616
scorecard:
17-
uses: ../.github/workflows/scorecard-reusable.yml
17+
uses: ../../.github/workflows/scorecard-reusable.yml

consent-aware-http/.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ permissions:
1313

1414
jobs:
1515
scorecard:
16-
uses: ../.github/workflows/scorecard-reusable.yml
16+
uses: ../../.github/workflows/scorecard-reusable.yml

consent-aware-http/.github/workflows/secret-scanner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
scan:
1818
permissions:
1919
contents: read
20-
uses: ../.github/workflows/secret-scanner-reusable.yml
20+
uses: ../../.github/workflows/secret-scanner-reusable.yml
2121
secrets: inherit

0 commit comments

Comments
 (0)