ci: automate creation of GitHub releases and tags #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Checker | ||
on: | ||
pull_request_target: | ||
paths: ${{{ .github.languages | map(select(. == "Rust")) | if length == 0 then ["version.json"] else ["Cargo.toml"] end }}} | ||
types: [ opened, synchronize, reopened, labeled, unlabeled ] | ||
workflow_dispatch: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
release-check: | ||
uses: ipdxco/unified-github-workflows/.github/workflows/release-check.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}} | ||
Check failure on line 19 in .github/workflows/release-check.yml GitHub Actions / .github/workflows/release-check.ymlInvalid workflow file
|
||
with: | ||
sources: '${{{ .github.languages | map(select(. == "Rust")) | if length == 0 then ["version.json"] else ["Cargo.toml"] end }}}' |