Skip to content

chore(deps): update swanseauniversitymedical/workflows action to v5 #78

chore(deps): update swanseauniversitymedical/workflows action to v5

chore(deps): update swanseauniversitymedical/workflows action to v5 #78

Workflow file for this run

name: PR Update
on:
pull_request:
types:
- opened
- synchronize
permissions:
# read on both needed for changes detection
pull-requests: read
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
# Detect which files have been changed on this PR's full history
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected]
with:
slack-channel: ${{ vars.SLACK_CHANNEL }}
filters: |
hive-container:
- './.github/workflows/on-pr-update.yaml'
- 'containers/hive/**'
chart:
- './.github/workflows/on-pr-update.yaml'
- 'charts/**'
secrets:
slack-token: ${{ secrets.SLACK_TOKEN }}
hive-container:
# Build the container and push it as :pr-42 and :pr-42-fe45b3h
needs: changes
if: fromJSON(needs.changes.outputs.changes).hive-container == 'true'
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected]

Check failure on line 40 in .github/workflows/on-pr-update.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/on-pr-update.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/on-pr-update.yaml" -> "SwanseaUniversityMedical/workflows/.github/workflows/[email protected]" : failed to fetch workflow: workflow was not found.
with:
job-name: hive-container
container-registry: ${{ vars.HARBOR_REGISTRY }}
container-registry-user: ${{ vars.HARBOR_USER }}
container-registry-project: ${{ vars.HARBOR_PROJECT }}
container-registry-repo: ${{ vars.HARBOR_REPO }}
cosign-public-key: ${{ vars.COSIGN_PUBLIC_KEY }}
slack-channel: ${{ vars.SLACK_CHANNEL }}
build-command: |
docker build -t $IMAGE -f containers/hive/Dockerfile .
secrets:
cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }}
cosign-password: ${{ secrets.COSIGN_PASSWORD }}
container-registry-token: ${{ secrets.HARBOR_TOKEN }}
slack-token: ${{ secrets.SLACK_TOKEN }}
chart:
# Build the chart and push it as :pr-42 and :pr-42-fe45b3h
needs: changes
if: fromJSON(needs.changes.outputs.changes).chart == 'true'
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected]
with:
job-name: hive-chart
chart: charts/hive
chart-registry: ${{ vars.HARBOR_REGISTRY }}
chart-registry-user: ${{ vars.HARBOR_USER }}
chart-registry-project: ${{ vars.HARBOR_PROJECT }}
chart-registry-repo: ${{ vars.HARBOR_REPO }}
cosign-public-key: ${{ vars.COSIGN_PUBLIC_KEY }}
slack-channel: ${{ vars.SLACK_CHANNEL }}
test-command: |
helm template $CHART --values charts/hive/values.yaml
secrets:
cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }}
cosign-password: ${{ secrets.COSIGN_PASSWORD }}
chart-registry-token: ${{ secrets.HARBOR_TOKEN }}
slack-token: ${{ secrets.SLACK_TOKEN }}