Skip to content
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

[CRON] Sync with copier template #128

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Conversation

github-actions[bot]
Copy link

This PR updates the project to the latest version of scipp's copier-template.
Remember to check for any conflicts and resolve them.

@MridulS
Copy link
Member

MridulS commented Apr 16, 2024

The action runs fine! https://github.com/scipp/esssans/actions/workflows/copier.yml

It can be triggered manually via workflow dispatch or there will be a weekly cron job to sync with upstream template.

@SimonHeybrock
Copy link
Member

... but CI jobs do not run?

@MridulS
Copy link
Member

MridulS commented Apr 17, 2024

Yeah seems like need to use a PAT :/
Github prevents non workflow_dispatch triggers by bots
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow

There are some workarounds https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#workarounds-to-trigger-further-workflow-runs (let's try the close and open pull request one)

@MridulS MridulS closed this Apr 17, 2024
@MridulS MridulS reopened this Apr 17, 2024
@MridulS
Copy link
Member

MridulS commented Apr 17, 2024

Well that worked, it's indeed annoying to close and open a PR to trigger the build but it seems like the quickest one assuming we don't want to create a new scipp-bot account on github.

@SimonHeybrock SimonHeybrock merged commit 82fe98f into main Apr 17, 2024
3 checks passed
@SimonHeybrock SimonHeybrock deleted the create-pull-request/patch branch April 17, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants