summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2024-03-27 09:48:14 +0100
committerGitHub <noreply@github.com>2024-03-27 09:48:14 +0100
commit0d4665583be4d0f6f02fbe5a0b245a60d6b0082a (patch)
treea99d2f73a4a689e8a8840b0fbea41cc27d4ab550 /.github/workflows
parent5d0ef9e4f4c2d14b3a87e4607168ca88201b5fec (diff)
downloadspack-0d4665583be4d0f6f02fbe5a0b245a60d6b0082a.tar.gz
spack-0d4665583be4d0f6f02fbe5a0b245a60d6b0082a.tar.bz2
spack-0d4665583be4d0f6f02fbe5a0b245a60d6b0082a.tar.xz
spack-0d4665583be4d0f6f02fbe5a0b245a60d6b0082a.zip
ci: inherit secrets in local workflows (#43391)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml4
-rw-r--r--.github/workflows/valid-style.yml1
2 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 5b734616f7..dcbf365e95 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -18,6 +18,7 @@ jobs:
prechecks:
needs: [ changes ]
uses: ./.github/workflows/valid-style.yml
+ secrets: inherit
with:
with_coverage: ${{ needs.changes.outputs.core }}
all-prechecks:
@@ -70,14 +71,17 @@ jobs:
if: ${{ github.repository == 'spack/spack' && needs.changes.outputs.bootstrap == 'true' }}
needs: [ prechecks, changes ]
uses: ./.github/workflows/bootstrap.yml
+ secrets: inherit
unit-tests:
if: ${{ github.repository == 'spack/spack' && needs.changes.outputs.core == 'true' }}
needs: [ prechecks, changes ]
uses: ./.github/workflows/unit_tests.yaml
+ secrets: inherit
windows:
if: ${{ github.repository == 'spack/spack' && needs.changes.outputs.core == 'true' }}
needs: [ prechecks ]
uses: ./.github/workflows/windows_python.yml
+ secrets: inherit
all:
needs: [ windows, unit-tests, bootstrap ]
runs-on: ubuntu-latest
diff --git a/.github/workflows/valid-style.yml b/.github/workflows/valid-style.yml
index c57dfd1367..5adfe89e0b 100644
--- a/.github/workflows/valid-style.yml
+++ b/.github/workflows/valid-style.yml
@@ -56,6 +56,7 @@ jobs:
share/spack/qa/run-style-tests
audit:
uses: ./.github/workflows/audit.yaml
+ secrets: inherit
with:
with_coverage: ${{ inputs.with_coverage }}
python_version: '3.11'