This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
Add deprecation notice (#50) #159
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
# Find full documentation here https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | |
name: CI | |
on: | |
pull_request: | |
# Manual invocation. | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token | |
permissions: | |
# required by guardian/actions-riff-raff | |
id-token: write | |
contents: read | |
pull-requests: write # required by guardian/actions-riff-raff | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
cache-dependency-path: 'cdk/package-lock.json' | |
- name: Setup Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Run script/ci | |
run: ./scripts/ci.sh | |
- name: Upload to riff-raff | |
uses: guardian/actions-riff-raff@v4 | |
with: | |
app: snyk-tag-monitor | |
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
commentingStage: INFRA | |
projectName: security::snyk-tag-monitor | |
configPath: cdk/cdk.out/riff-raff.yaml | |
contentDirectories: | | |
cdk.out: | |
- cdk/cdk.out | |
snyk-tag-monitor: | |
- snyk-tag-monitor.zip |