Skip to content

feat(trusted publishing): initial commit to add release github action to support OIDC trusted publish [DX-505] #14

feat(trusted publishing): initial commit to add release github action to support OIDC trusted publish [DX-505]

feat(trusted publishing): initial commit to add release github action to support OIDC trusted publish [DX-505] #14

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches: ['master', 'next']
pull_request:
branches: ['*']
jobs:
build:
uses: ./.github/workflows/build.yml

Check failure on line 13 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/main.yaml" -> "./.github/workflows/build.yml" : failed to fetch workflow: workflow was not found.
check:
needs: build
uses: ./.github/workflows/check.yml
release:
# TODO: remove 'testing-oidc-trusted-publishing' branch once trusted publishing is stable
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/testing-oidc-trusted-publishing' || github.ref == 'refs/heads/next')
needs: [build, check]
permissions:
contents: write
id-token: write
actions: read
uses: ./.github/workflows/release.yml