Skip to content

Commit

Permalink
Automatic commit
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenTF Team committed Sep 14, 2023
1 parent 3cde48e commit 93dba58
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/artifact-release-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Trigger Artifact Release

on:
workflow_dispatch:

permissions:
contents: read
actions: write

jobs:
trigger:
uses: opentffoundation/scripts/.github/workflows/trigger.yml@main
30 changes: 30 additions & 0 deletions .github/workflows/artifact-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Artifact Release

on:
workflow_dispatch:
inputs:
tag:
description: "Release tag (v#.#.#)"
type: string
required: true
push:
tags:
- 'v*'

permissions:
contents: write

jobs:
release-dispatch:
if: inputs.tag != ''
uses: opentffoundation/scripts/.github/workflows/release.yml@main
with:
tag: ${{ inputs.tag }}
secrets: inherit

release-push:
if: inputs.tag == ''
uses: opentffoundation/scripts/.github/workflows/release.yml@main
with:
tag: ${{ github.ref_name }}
secrets: inherit
20 changes: 20 additions & 0 deletions .github/workflows/fork_sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Sync Fork

on:
schedule:
- cron: '15 */4 * * *' # every hour
workflow_dispatch: # on button click

jobs:
sync:
name: Sync
runs-on: ubuntu-latest

steps:
- name: Sync the fork
uses: tgymnich/[email protected]
with:
token: ${{ secrets.GH_PAT }}
base: main
head: main
auto_merge: true

0 comments on commit 93dba58

Please sign in to comment.