forked from firebase/firebase-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 781 Bytes
/
changelog.yml
File metadata and controls
29 lines (26 loc) · 781 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: Changelog
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@v3.5.3
with:
fetch-depth: 100
submodules: true
- uses: ruby/setup-ruby@v1
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"'