Skip to content

[#patch] harden workflows #124

[#patch] harden workflows

[#patch] harden workflows #124

name: Auto Tagger CI (local repository)
on:
push:
branches:
- main
paths:
- auto-tagger/**
pull_request:
paths:
- auto-tagger/**
- .github/workflows/local-python-ci.yml
concurrency:
group: ghas-auto-tagger-ci-${{ github.ref }}
cancel-in-progress: true
jobs:
python-ci:
uses: notdodo/github-actions/.github/workflows/python-ci.yml@python-ci-v0

Check failure on line 19 in .github/workflows/local-python-ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/local-python-ci.yml

Invalid workflow file

error parsing called workflow ".github/workflows/local-python-ci.yml" -> "notdodo/github-actions/.github/workflows/python-ci.yml@python-ci-v0" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
with:
poetry-version: 1.8.2
python-version: 3.11
working-directory: auto-tagger
build-docker-image:
if: ${{ github.event_name == 'pull_request' }}
uses: notdodo/github-actions/.github/workflows/docker-build-and-push.yml@docker-build-and-push-v-
with:
image: notdodo/auto-tagger
platforms: linux/amd64
push: false
registry: ghcr.io
working-directory: ./auto-tagger/
secrets:
registry-username: notdodo
registry-password: ${{ secrets.GITHUB_TOKEN }}