This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
fix: iOS 17 negative lookahead regex bug #296
Workflow file for this run
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: Beagle PR Danger | |
on: | |
pull_request: | |
types: [edited, synchronize, reopened, opened] | |
branches: | |
- main | |
jobs: | |
danger-pr: | |
name: Danger PR | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v2 | |
# Gems for Fastlane | |
- name: Cache ruby gems dependencies | |
uses: actions/cache@v2 | |
env: | |
keyPath: ${{ runner.os }}-gems | |
with: | |
path: ~/.gem | |
key: ${{ env.keyPath }}-${{ hashFiles('Gemfile.lock') }} | |
restore-keys: ${{ env.keyPath }} | |
- name: Install gem dependencies | |
run: bundle config set path '~/.gem' && bundle install | |
- name: Run danger check | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: '[ ! -z $GITHUB_TOKEN ] && bundle exec fastlane run_danger danger_id:"pr_danger" danger_file_path:"pr" || echo "Skipping Danger for External Contributor"' |