Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: opentofu/scripts/.github/workflows/trigger.yml@main
33 changes: 33 additions & 0 deletions .github/workflows/artifact-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Artifact Release

on:
workflow_dispatch:
inputs:
tag:
description: "Release tag (v#.#.#)"
type: string
required: true

permissions:
contents: write

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

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

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

jobs:
sync:
uses: opentofu/scripts/.github/workflows/sync.yml@main
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/resign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Artifacts Resign

on:
workflow_dispatch:

permissions:
contents: write

jobs:
resign:
uses: opentofu/scripts/.github/workflows/sign.yml@main
with:
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
secrets:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GH_PAT: ${{ secrets.GH_PAT }}
3 changes: 3 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: "Stale issues and pull requests"
on:
schedule:
- cron: "40 17 * * *"
permissions:
contents: read
pull-requests: write

jobs:
stale:
Expand Down
Loading