Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.99 KB

File metadata and controls

61 lines (42 loc) · 1.99 KB

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