mas/.github/workflows/danger.yml

22 lines
569 B
YAML
Raw Normal View History

2024-02-18 15:55:03 +00:00
#
# .github/workflows/danger.yml
#
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
2024-02-18 19:13:42 +00:00
---
2024-02-18 15:55:03 +00:00
name: danger
2021-11-18 21:50:25 +00:00
on:
pull_request:
2024-02-18 19:13:42 +00:00
branches: [main]
2021-11-18 21:50:25 +00:00
jobs:
danger:
runs-on: ubuntu-latest
steps:
2024-02-18 19:13:42 +00:00
- uses: actions/checkout@v4
- name: Danger
# https://github.com/orgs/danger/packages/container/package/danger-swift
uses: docker://ghcr.io/danger/danger-swift:3.18.0
with:
args: --failOnErrors --no-publish-check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}