Skip to content

Flaconi/github-reusable-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

GitHub Action Reusable Workflows

Tag License

๐Ÿ’ป 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 }}

โ— Keep up-to-date with GitHub Dependabot

โš ๏ธ UPDATE
The following is not yet available as part of Dependabots package ecosystem.
community/community#8088

Since Dependabot has native GitHub Actions support, to enable it on your GitHub repo all you need to do is add the .github/dependabot.yml file:

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.

๐Ÿ“„ License

MIT License

Copyright (c) 2022 Flaconi GmbH

About

Github Action Reusable Flows

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5