Fixed Vulnerable to Broken Access Control #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Danger | |
on: | |
pull_request: | |
types: [opened, reopened, edited, synchronize] | |
jobs: | |
main: | |
name: Danger CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v3 | |
- name: ruby setup | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.2 | |
bundler-cache: true | |
- name: Run Danger | |
if: github.event_name == 'pull_request' | |
run: | | |
gem install danger | |
gem install danger-commit_lint | |
bundle exec danger --dangerfile=Dangerfile --danger_id=danger-pr | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} |