Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,20 @@ jobs:
with:
persist-credentials: false
fetch-depth: 0
- uses: NDDev-Technocracy-Standarts/std-0004-ci-cd-workflows/.github/actions/tools@c192c6adcf22088abf456635de614d42e8fa3f8d # nddev-cicd-v0.6.20
- uses: NDDev-Technocracy-OpenNetwork/nddev-ci/actions/hosted-sdk@9fead1382c452a6b791a0a9e464ac6ac66537ac3 # v0.6.51
with:
capability: security
tools: zizmor@1.32.0
- name: Install actionlint 1.7.12 and gitleaks 8.30.1, checked against their digests
run: |
set -euo pipefail
bin="$HOME/.local/bin"; mkdir -p "$bin"
curl -fsSL -o "$RUNNER_TEMP/actionlint.tgz" "https://github.com/rhysd/actionlint/releases/download/v1.7.12/actionlint_1.7.12_linux_amd64.tar.gz"
echo "8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8 $RUNNER_TEMP/actionlint.tgz" | sha256sum -c -
tar -xzf "$RUNNER_TEMP/actionlint.tgz" -C "$bin" "actionlint"
curl -fsSL -o "$RUNNER_TEMP/gitleaks.tgz" "https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz"
echo "551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb $RUNNER_TEMP/gitleaks.tgz" | sha256sum -c -
tar -xzf "$RUNNER_TEMP/gitleaks.tgz" -C "$bin" "gitleaks"
echo "$bin" >> "$GITHUB_PATH"
- name: Lint and audit workflows
run: |
actionlint
Expand All @@ -287,10 +298,10 @@ jobs:
runs-on: ubuntu-26.04
timeout-minutes: 5
steps:
- uses: NDDev-Technocracy-Standarts/std-0004-ci-cd-workflows/.github/actions/gate@c192c6adcf22088abf456635de614d42e8fa3f8d # nddev-cicd-v0.6.20
with:
needs: ${{ toJSON(needs) }}
# Windows installs run on main and manual runs; pull requests expect them skipped.
expected: >-
- name: Every required job ended as expected
env:
NEEDS: ${{ toJSON(needs) }}
EXPECTED: >-
{"artifacts":"success","devin-artifacts":"success","devin-e2e":"success","setup-e2e":"success",
"deploy-e2e":"success","workflows":"success","devin-e2e-windows":"${{ github.event_name == 'pull_request' && 'skipped' || 'success' }}","setup-e2e-windows":"${{ github.event_name == 'pull_request' && 'skipped' || 'success' }}"}
run: jq -e --argjson want "$EXPECTED" 'map_values(.result) == $want' <<< "$NEEDS"