https://github.com/flaconi/github-reusable-workflow
Github Action Reusable Flows
https://github.com/flaconi/github-reusable-workflow
backups reusable-workflows
Last synced: 3 months ago
JSON representation
Github Action Reusable Flows
- Host: GitHub
- URL: https://github.com/flaconi/github-reusable-workflow
- Owner: Flaconi
- License: mit
- Created: 2022-05-31T13:18:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-05T13:58:35.000Z (about 2 years ago)
- Last Synced: 2025-03-09T22:48:08.691Z (over 1 year ago)
- Topics: backups, reusable-workflows
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# GitHub Action Reusable Workflows
[](https://github.com/Flaconi/github-reusable-workflow/releases)
[](https://opensource.org/licenses/MIT)
## :computer: A Reusable workflow to backup GitHub repository to S3 bucket
To trigger the flow, add the following to your respective repository you want to backup.
```
name: Backup Respository
# -------------------------------------------------------------------------------------------------
# When to run
# -------------------------------------------------------------------------------------------------
on:
push:
branches:
- master
jobs:
backup:
uses: Flaconi/github-reusable-workflow/.github/workflows/backups.yml@v1
with:
enabled: true
region: eu-central-1
secrets:
iam_role_arn: ${{ secrets.BACKUP_REPO_IAM_ROLE }}
bucket_name: ${{ secrets.BACKUP_REPO_BUCKET }}
```
## :exclamation: Keep up-to-date with GitHub Dependabot
| :warning: UPDATE |
|:--------------------|
| The following is not yet available as part of Dependabots package ecosystem.
https://github.com/community/community/discussions/8088 |
Since [Dependabot](https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-github-dependabot) has [native GitHub Actions support](https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#package-ecosystem), to enable it on your GitHub repo all you need to do is add the `.github/dependabot.yml` file:
```yml
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
```
Then Dependabot will PR you version updates as soon as this repository gets updated.
## :page_facing_up: License
**[MIT License](LICENSE)**
Copyright (c) 2022 [Flaconi GmbH](https://github.com/Flaconi)