Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

ci: test

ci: test #23

Workflow file for this run

---
name: Continuous Delivery
# yamllint disable-line rule:truthy
on:
# yamllint disable-line rule:empty-values
workflow_dispatch:
push:
branches:
- main
permissions: read-all
jobs:
goreleaser:
name: "GO Releaser"
if: >-
startsWith(github.event.head_commit.message, 'bump:')
uses: jlec/github-actions/.github/workflows/reusable-cd-go.yml@main

Check failure on line 20 in .github/workflows/cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cd.yml

Invalid workflow file

error parsing called workflow ".github/workflows/cd.yml" -> "jlec/github-actions/.github/workflows/reusable-cd-go.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
permissions:
contents: write
statuses: write
secrets:
pat: ${{ secrets.PAT_GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
tfe_release_token: ${{ secrets.TFE_RELEASE_KEY }}
gpg_release_key: ${{ secrets.GPG_RELEASE_KEY }}
release-and-clean:
name: Release the code & clean up
if: >-
startsWith(github.event.head_commit.message, 'bump:')
runs-on: ubuntu-latest
permissions:
contents: write
statuses: write
needs:
- goreleaser
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref_name }}
- name: Cleanup action status
uses: ouzi-dev/commit-status-updater@v2
with:
status: "success"
token: ${{ secrets.GITHUB_TOKEN }}
name: "GithubActions - ${GITHUB_WORKFLOW}"
ignoreForks: true