Skip to content

Audit

Audit #41

Workflow file for this run

name: Audit
on:
push:
branches:
- main
schedule:
- cron: "0 18 * * *" # 3am in Asia/Tokyo
jobs:
audit:
runs-on: ubuntu-latest
# push: always run.
# pull_request: run only when the PR is submitted from a forked repository, not within this repository.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Audit
run: bundle exec ruby ./audit.rb
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}