Skip to content

Commit

Permalink
Remove CI manual trigger
Browse files Browse the repository at this point in the history
Signed-off-by: eternal-flame-AD <[email protected]>
  • Loading branch information
eternal-flame-AD committed Oct 30, 2024
1 parent c9756ba commit 173d8e5
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ name: Build
on:
push:

# Allows manual bumps by API trigger
workflow_dispatch:
inputs:
go_version:
description: 'Go version without the "go" prefix'
required: false

permissions:
contents: write

Expand All @@ -22,13 +15,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Extract input options
if: ${{ github.event.inputs.go_version }}
run: |
export GO_VERSION=${{ github.event.inputs.go_version }}
echo $GO_VERSION > GO_VERSION

- name: Sanity check
run: |
Expand All @@ -45,7 +31,7 @@ jobs:

- name: Push and tag
# push if we are not already tagged, the workflow is triggered by a manual go_version input or we are on master
if: ${{ !startsWith(github.ref, 'refs/tags/v') && (github.event.inputs.go_version || github.ref == 'refs/heads/master') }}
if: ${{ !startsWith(github.ref, 'refs/tags/v') && github.ref == 'refs/heads/master' }}
run: |
GO_VERSION=$(cat GO_VERSION)
Expand Down

0 comments on commit 173d8e5

Please sign in to comment.