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

 
 
 

Contributors