Skip to content

Conversation

@jagdish-15
Copy link
Member

🛠️ Automating Configlet Sync

This PR introduces a workflow that automates configlet sync for test (only an issue is raised), docs, metadata, and filepaths. There are two jobs in the main workflow; we can skip either one of them. Let me know how you'd like to set it up!

⏱️ The workflow is currently scheduled to run on the 15th of every month via cron.
Let me know if you'd prefer a different schedule (e.g., weekly, the 1st of each month, etc.).

This setup is already being used across multiple tracks!.

For more context and discussion, see:
🔗 https://forum.exercism.org/t/automating-syncing-with-github-actions-final-testing-going-on-for-java-track-open-to-more-tracks/17807


jobs:
call-gha-workflow:
uses: exercism/github-actions/.github/workflows/configlet-sync.yml@main
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is added shouldn't we pin to a specific sha? As we do with all other actions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gha-best-practices documentation states:

When using other actions, pin them to a commit (via their SHA), not to a branch or tag.

However, since we're using an internal workflow from the github-actions repo, we don’t need to pin it to a specific SHA; referencing it by branch is appropriate in this case.

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