[TEMPLATE]: Reusable workflows #154
Mara-Li
announced in
Announcements
Replies: 1 comment
-
Update: I spotted that the To fix that, and support branch protection, I added the If you need to use them for your workflow, you need to update:
For example, in name: Repository maintenance
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
maintenance:
uses: ObsidianPublisher/actions/.github/workflows/maintenance.yml@main
secrets:
GH_PAT: ${{ secrets.GITHUB_TOKEN }}
AUTHOR_EMAIL: ${{ secrets.AUTHOR_EMAIL }}
AUTHOR_NAME: ${{ secrets.AUTHOR_NAME}} By default, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
I got tired of checking and updating everything across multiple repositories when working on GitHub action workflows. Using sync was helpful but sometimes tricky, as I wasn't sure what was affecting what.
I spent the whole day searching for a solution to reuse workflows across repositories without having to publish them. And guess what? I found it!
Introducing a new repository: ObsidianPublisher/actions. This repository contains all the workflows used to accomplish the following tasks:
requirements.txt
.These new reusable workflows are easier to read and update. Now, I only need to update one repository, and you'll automatically get the latest version. Moreover, you can customize them as per your requirements. For example, you can add specific actions during the deployment process.
Beta Was this translation helpful? Give feedback.
All reactions