Skip to content

Give deploy workflow id-token permission #157

Give deploy workflow id-token permission

Give deploy workflow id-token permission #157

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
paths-ignore: [".git**"]
workflow_dispatch:
jobs:
snyk-security:
name: SNYK security analysis
uses: alphagov/govuk-infrastructure/.github/workflows/snyk-security.yml@main
secrets: inherit
codeql-sast:
name: CodeQL SAST scan
uses: alphagov/govuk-infrastructure/.github/workflows/codeql-analysis.yml@main
permissions:
security-events: write
dependency-review:
name: Dependency Review scan
uses: alphagov/govuk-infrastructure/.github/workflows/dependency-review.yml@main
security-analysis:
name: Security Analysis
uses: alphagov/govuk-infrastructure/.github/workflows/brakeman.yml@main
lint-ruby:
name: Lint Ruby
uses: alphagov/govuk-infrastructure/.github/workflows/rubocop.yml@main
test-ruby:
name: Test Ruby
runs-on: ubuntu-latest
steps:
- uses: alphagov/govuk-infrastructure/.github/actions/setup-mongodb@main
with:
version: 2.6
- uses: actions/checkout@v4
with:
show-progress: false
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: bundle exec rails db:setup
env:
RAILS_ENV: test
- run: bundle exec rake spec
env:
RAILS_ENV: test