Bump ruff from 0.3.4 to 0.4.7 #250
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: Main | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ main, develop ] | |
workflow_dispatch: | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Get Token | |
id: get_workflow_token | |
uses: peter-murray/workflow-application-token-action@v3 | |
with: | |
application_id: ${{ secrets.ADVANCED_SECURITY_APP_ID }} | |
application_private_key: ${{ secrets.ADVANCED_SECURITY_APP_KEY }} | |
- name: Install Deps | |
run: python3 -m pip install pipenv && python3 -m pipenv install | |
# Run Validation | |
- name: Run - Full Example | |
env: | |
GITHUB_REPOSITORY: advanced-security/secret-scanning-custom-patterns | |
GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }} | |
run: | | |
pipenv run snapshot -p ./examples/ | |
pipenv run validate -p ./examples/ | |
pipenv run markdown -p ./examples/ --cwd ./examples/ |