chore(deps): update mint packages (#202) #212
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
# Can only run on push events, not pull requests. | |
# PRs on github generate weird branch names that semantic-release does not support. | |
on: [push] | |
concurrency: # cancel previous workflow run if one exists. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
deployment: | |
runs-on: macos-14 # because cocoapods is already installed on these machines | |
permissions: | |
contents: write # to set permissions for semantic-release dry-run to pass | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: setup git user to run semantic-release | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Example User" | |
- uses: ./.github/actions/setup-semantic-release | |
- name: Run semantic-release in dry run | |
run: unset GITHUB_ACTIONS && npx semantic-release --dry-run --no-ci --branches "${{ github.ref_name }},main" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} |