Skip to content

Commit

Permalink
refactor(ci): Refactoring CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
BourgerieQuentin committed Nov 8, 2024
1 parent 5b8b5c2 commit b787e83
Show file tree
Hide file tree
Showing 45 changed files with 1,683 additions and 2,102 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/action-pin.yaml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/action_compliance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: check action compliance

on:
pull_request:
paths:
- .github/workflows/**
push:
branches:
- main
- 'release/*'

jobs:
action-pin:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@0901cf7b71c7ea6261ec69a3dc2bd3f9264f893e # v3.0.12
with:
allowlist: |
slsa-framework/slsa-github-generator
action-lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: check-missing-teardown
run: .github/workflows/scripts/teardown-check.sh
- name: actionlint
uses: raven-actions/actionlint@01fce4f43a270a612932cb1c64d40505a029f821 # v2.0.0
16 changes: 0 additions & 16 deletions .github/workflows/actionlint.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/check_commit_signature.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
# Check commit and PR compliance
name: Check commit message compliance
name: check commit compliance
on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
check-commit-pr:
name: Check commit and PR
runs-on: ubuntu-20.04
format:
runs-on: ubuntu-latest
steps:
- name: Check first line
uses: gsactions/commit-message-checker@16fa2d5de096ae0d35626443bcd24f1e756cafee # v2.0.0
Expand All @@ -19,3 +16,13 @@ jobs:
excludeTitle: 'true' # optional: this excludes the title of a pull request
checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request
accessToken: ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true
- name: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: linelint
uses: fernandrone/linelint@8136e0fa9997122d80f5f793e0bb9a45e678fbb1 # 0.0.4
id: linelint
- name: markdown-link-check
uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
142 changes: 0 additions & 142 deletions .github/workflows/compiler_benchmark.yml

This file was deleted.

Loading

0 comments on commit b787e83

Please sign in to comment.