chore(deps): update gitlab runner support dependencies #393
This file contains 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: Scan | |
on: | |
# This workflow is triggered on pull requests to the main branch. | |
pull_request: | |
branches: [main] | |
types: [milestoned, opened, synchronize] | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
name: Lint | |
permissions: | |
contents: read # Allows reading the repo contents | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 0 | |
- name: Environment setup | |
uses: defenseunicorns/uds-common/.github/actions/setup@ea9db8ab9bfc4a5d87acd7d1af385aa8e44206d3 # v0.13.0 | |
with: | |
registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} | |
registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} | |
ghToken: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install lint deps | |
run: | | |
uds run lint:deps --no-progress | |
- name: Lint the repository | |
run: | | |
uds run lint:yaml --no-progress | |
uds run lint:oscal --no-progress --set OSCALFILES=./oscal-component.yaml |