Skip to content

Commit

Permalink
Adding hardening on run-tests and delete-artifacts in case it is run …
Browse files Browse the repository at this point in the history
…separatly.
  • Loading branch information
sydseter committed Apr 17, 2024
1 parent ddeee42 commit c7ceaa2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/delete-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ on:
pull_request:
types: [closed]
jobs:
hardening:
uses: ./.github/workflows/hardening.yaml
delete-branch:
name: Delete artifact branch
needs: hardening
runs-on: ubuntu-latest
steps:
- name: Checkout target branch
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ on:
permissions:
contents: read
jobs:
hardening:
uses: ./.github/workflows/hardening.yaml
runtests:
name: Run Tests
needs: hardening
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down

0 comments on commit c7ceaa2

Please sign in to comment.