diff --git a/.github/workflows/golang.yml b/.github/workflows/golang.yml index 83a5e635..380fed7b 100644 --- a/.github/workflows/golang.yml +++ b/.github/workflows/golang.yml @@ -6,6 +6,7 @@ name: golang workflow_dispatch: jobs: mcvs-golang-action: + if: ${{ github.event.label.name == 'label_name123' }} runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4.1.1 diff --git a/.github/workflows/gomod-go-version-updater.yml b/.github/workflows/gomod-go-version-updater.yml index f0e00a2d..0c666501 100644 --- a/.github/workflows/gomod-go-version-updater.yml +++ b/.github/workflows/gomod-go-version-updater.yml @@ -1,13 +1,12 @@ --- name: gomod-go-version-updater-action -'on': - schedule: - - cron: '42 6 * * *' +'on': push permissions: + actions: write contents: write pull-requests: write jobs: gomod-go-version-updater-action: runs-on: ubuntu-22.04 steps: - - uses: 030/gomod-go-version-updater-action@v0.1.0 + - uses: 030/gomod-go-version-updater-action@16-go-mod-tidy