feat!: changed latest-package behavior #486
Workflow file for this run
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: | |
# milestoned is added here as a workaround for release-please not triggering PR workflows (PRs should be added to a milestone to trigger the workflow). | |
types: [milestoned, opened, synchronize] | |
# This allows other repositories to call this workflow in a reusable way | |
workflow_call: | |
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: ./.github/actions/setup | |
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 |