-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: run workflow once the PR is created by job #4406
Conversation
Storybook staging is available at https://kiwicom-orbit-sarka-fix-cron-update-icons.surge.sh |
Size Change: +2 B (0%) Total Size: 445 kB
ℹ️ View Unchanged
|
Deploying orbit with Cloudflare Pages
|
b9f2172
to
43aab1d
Compare
Hi, I was searching for how to achieve our goal and it seems it's not doable to run GH workflow from another GH workflow automatically, I've found this solution by using GitHub apps, but I am not sure if it's the way how we want to solve this issue. Also, I have found some solutions using Personal Access Token, but from my POV it's not ideal either. 🤷♀️ btw, an interesting discussion about this problem is here: https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens I'll try to do deeper research and in case I still won't be successful, can we discuss it next week, please? |
That might be an option. We are using PAT for other things, like updating visual tests… So we can use the @kiwicom-orbit-bot PAT and make it the creator of the PRs, if that's what's necessary to have the pipeline run automatically. |
This PR is not linked to any Jira task. Please bear in mind that the Kanban board acts as the source of truth. If it's not visible there it might go unnoticed. |
Thank you for the reply. I'll take a look at it deeper on Monday. |
e9ce58f
to
d606e86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor 💅 LGTM 👍 The commit should be a chore commit, though
@@ -46,6 +46,7 @@ jobs: | |||
uses: actions/github-script@v6 | |||
if: env.new_files == 'true' | |||
with: | |||
github-token: ${{ secrets.PAT}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
github-token: ${{ secrets.PAT}} | |
github-token: ${{ secrets.PAT }} |
d606e86
to
6614c88
Compare
6614c88
to
129665b
Compare
This PR includes news settings of GitHub actions workflow - once the once the PR is (automatically) created then its respective GH actions are triggered.
Jira ticket: https://kiwicom.atlassian.net/browse/FEPLT-2003