-
Notifications
You must be signed in to change notification settings - Fork 669
29 lines (26 loc) · 887 Bytes
/
changelog.yml
File metadata and controls
29 lines (26 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Verify changelog update
on:
pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
changelog-check:
runs-on: ubuntu-22.04
env:
BUNDLE_GEMFILE: ./ci/danger/Gemfile
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 100
submodules: true
- uses: ruby/setup-ruby@1a615958ad9d422dd932dc1d5823942ee002799f # v1.227.0
with:
ruby-version: '2.7'
- name: Setup Bundler
run: ./ci/danger/setup_bundler.sh
- name: Danger CHANGELOG verifier
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GOOGLE_OSS_BOT_TOKEN }}
run:
'[ ! -z $DANGER_GITHUB_API_TOKEN ] && bundle exec danger --dangerfile=./ci/danger/Dangerfile || echo "Skipping Danger for External Contributor"'