mirror of
https://github.com/samsonjs/grape-active_model_serializers.git
synced 2026-03-25 08:45:55 +00:00
PR feedback: fix Danger's GitHub token, run on all branches
This commit is contained in:
parent
0da8ef5bd3
commit
dcc17a065d
1 changed files with 6 additions and 9 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -1,9 +1,5 @@
|
||||||
name: CI
|
name: CI
|
||||||
on:
|
on: [push, pull_request]
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
pull_request:
|
|
||||||
branches: [master]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
danger:
|
danger:
|
||||||
|
|
@ -15,10 +11,11 @@ jobs:
|
||||||
ruby-version: 3.4.4
|
ruby-version: 3.4.4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bundle install --jobs 4 --retry 3
|
run: bundle install --jobs 4 --retry 3
|
||||||
- name: Run danger
|
- name: Run Danger
|
||||||
env:
|
run: |
|
||||||
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# the token is public, has public_repo scope and belongs to the grape-bot user owned by @dblock, this is ok
|
||||||
run: bundle exec danger
|
TOKEN=$(echo -n Z2hwX2lYb0dPNXNyejYzOFJyaTV3QUxUdkNiS1dtblFwZTFuRXpmMwo= | base64 --decode)
|
||||||
|
DANGER_GITHUB_API_TOKEN=$TOKEN bundle exec danger --verbose
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue