Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flaconi/github-reusable-workflow
Github Action Reusable Flows
https://github.com/flaconi/github-reusable-workflow
backups reusable-workflows
Last synced: about 5 hours 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 (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-05T13:58:35.000Z (8 months ago)
- Last Synced: 2024-04-06T12:39:02.739Z (7 months 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
[![Tag](https://img.shields.io/github/tag/Flaconi/github-reusable-workflow.svg)](https://github.com/Flaconi/github-reusable-workflow/releases)
[![License](https://img.shields.io/badge/license-MIT-%233DA639.svg)](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:
- masterjobs:
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)