Align OHDSI on Azure with SHA-256-SCRAM for PostgreSQL Security Update #48
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: Build Validation | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
branches: | |
- main | |
- "feature/**" | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Filter changes | |
uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
main: | |
- 'infra/**' | |
main_json: | |
- 'infra/arm_output/main.json' | |
- name: "Stale ARM Template" | |
if: ${{ steps.filter.outputs.main == 'true' && | |
steps.filter.outputs.main_json == 'false' }} | |
run: echo "::error::Stale ARM Template, please regenerate." && exit 1 | |
# MegaLinter | |
- name: Lint code base | |
id: megalinter | |
uses: oxsecurity/megalinter@v7 | |
env: | |
# All available variables are described in documentation | |
# https://megalinter.io/configuration/ | |
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |