Skip to content

Action to automatically create tag in a forked repo for the latest upstream release

License

Notifications You must be signed in to change notification settings

Fricounet/sync-upstream-release-tag

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sync-upstream-release-tag

Action to automatically create tag in a forked repo for the latest upstream release

Usage

Add this to a .github/workflows/sync.yaml file in your fork

name: Sync upstream
# This runs every day on 1000 UTC
on:
  schedule:
    - cron: '0 10 * * *'
  # Allows manual workflow run
  workflow_dispatch:

permissions: write-all

jobs:
 build:
  runs-on: ubuntu-latest
  steps:
    - name: Create upstream version tag
      uses: DataDog/sync-upstream-release-tag@v0.1.0
        with:
	  github_actor: "${GITHUB_ACTOR}"
	  github_repository: "${GITHUB_REPOSITORY}"
	  github_token: ${{ secrets.GITHUB_TOKEN }}
          upstream_repo: kubernetes-sigs/gcp-compute-persistent-disk-csi-driver

About

Action to automatically create tag in a forked repo for the latest upstream release

Resources

License

Stars

Watchers

Forks

Packages

No packages published