fix: update demo workflow to fix checkout issue#181
Merged
Conversation
Member
|
Good catch, I think I found a couple of other issues too:
Then two minor things of which I'm not a super fan.
Then, some random thoughts to make feedback a bit more clear when running from actions (this might be irrelevant as soon as we move the bot to be a github app).
|
Member
|
To show an example that seems to work perfectly (including the listed 2 issues and 2 minor improvements above): name: Expo Comment Bot
on:
# minor 2 - also trigger on updates
issue_comment:
types: [created, edited]
concurrency:
# minor 2 - limit the max concurrency to only 1 active action per pull
group: bot-${{ github.event.issue.number }}
cancel-in-progress: true
jobs:
bot:
runs-on: ubuntu-latest
# issue 2 - only trigger from comments on pulls
if: ${{ github.event.issue.pull_request }}
# issue 1 - allow the bot to comment on pulls
permissions:
pull-requests: write
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v2
with:
# minor - 1 checkout the repo on the pull
ref: refs/pull/${{ github.event.issue.number }}/merge
- name: 🏗 Setup Node
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: yarn
- name: 🏗 Setup Expo
uses: expo/expo-github-action@v7
with:
eas-version: latest
expo-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: 📦 Install dependencies
run: yarn install
- name: 🤖 Run expo command
uses: expo/expo-github-action/command@v7 |
Contributor
Author
I'm working on add check status for it |
byCedric
reviewed
May 16, 2022
byCedric
approved these changes
May 16, 2022
Co-authored-by: Cedric van Putten <me@bycedric.com>
Contributor
Author
|
@EvanBacon, @byCedric: Can we merge this PR? |
github-actions Bot
pushed a commit
that referenced
this pull request
Jan 4, 2023
## [7.2.1](7.2.0...7.2.1) (2023-01-04) ### Code changes * drop rimraf dependency ([#203](#203)) ([830e647](830e647)) * update actions dependencies ([#202](#202)) ([259d15d](259d15d)) * update dev dependencies ([#204](#204)) ([5a73f07](5a73f07)) ### Other chores * bump @actions/core from 1.6.0 to 1.9.1 ([#191](#191)) ([670b449](670b449)) * bump ansi-regex from 5.0.0 to 5.0.1 ([#198](#198)) ([d63621e](d63621e)) * bump json5 from 1.0.1 to 1.0.2 ([#196](#196)) ([5a8228a](5a8228a)) * bump minimatch from 3.0.4 to 3.1.2 ([#197](#197)) ([5619369](5619369)) * bump qs from 6.5.2 to 6.5.3 ([#195](#195)) ([3beea56](3beea56)) * bump semantic-release from 18.0.1 to 19.0.3 ([#185](#185)) ([079b95e](079b95e)) * bump semver-regex from 3.1.3 to 3.1.4 ([#183](#183)) ([6b82e9e](6b82e9e)) * rebuild all actions ([e6ba70c](e6ba70c)) * update workflow actions to latest ([3cecf2e](3cecf2e)) ### Documentation changes * **command:** update readme to fix badge ([#201](#201)) ([2606508](2606508)) * **preview-comment:** add missing permissions in examples ([#187](#187)) ([5848f88](5848f88)) * update badge urls in the readmes ([#199](#199)) ([8440fd9](8440fd9)) * update demo workflow to fix checkout issue ([#181](#181)) ([8e2559c](8e2559c)) * use latest action verisons in readme ([#193](#193)) ([3f0a4b5](3f0a4b5))
|
🎉 This PR is included in version 7.2.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked issue
Fix the wrong commit issue with the solution from actions/checkout#331 (comment)
Additional context