chore(deps)(deps): bump the actions group across 1 directory with 4 updates #544
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pentest harness | |
| on: | |
| pull_request: | |
| branches: [main, dev] | |
| push: | |
| branches: [main] | |
| schedule: | |
| - cron: '0 6 * * *' | |
| workflow_dispatch: | |
| inputs: | |
| target: | |
| description: 'ART_TARGET URL' | |
| required: false | |
| default: 'https://ce-demo.homelabarr.com' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: pentest-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| external-set: | |
| name: ATT&CK external (class A1) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Run external harness | |
| env: | |
| ART_TARGET: ${{ github.event.inputs.target || 'https://ce-demo.homelabarr.com' }} | |
| ART_LOG_DIR: ${{ runner.temp }}/art-logs | |
| run: | | |
| mkdir -p "$ART_LOG_DIR" | |
| chmod +x pentest/harness/run.sh pentest/atomics/*/test.sh | |
| bash pentest/harness/run.sh --class A1 | |
| - name: Upload harness logs | |
| if: always() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: art-logs-external | |
| path: ${{ runner.temp }}/art-logs |