Skip to content

osx-commons-subgraph v0.0.1-alpha.0 (#28) #1

osx-commons-subgraph v0.0.1-alpha.0 (#28)

osx-commons-subgraph v0.0.1-alpha.0 (#28) #1

name: Contracts Publish
on:
push:
tags:
- '*'
jobs:
check_tag:
uses: ./.github/workflows/reusable-check-tag.yml
with:
ref: ${{ github.ref }}
tests:
needs: [check_tag]
if: ${{ needs.check_tag.outputs.package == 'contracts' }}
uses: ./.github/workflows/contracts-tests.yml
secrets:
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
publish:
needs: [check_tag, tests]
uses: ./.github/workflows/reusable-publish.yml

Check failure on line 23 in .github/workflows/contracts-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/contracts-publish.yml

Invalid workflow file

error parsing called workflow ".github/workflows/contracts-publish.yml" -> "./.github/workflows/reusable-publish.yml" (source tag with sha:7eda293bfa99aea9cf999753f3e741bd41fc08dc) : secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
with:
package: ${{ needs.check_tag.outputs.package }}
version: ${{ needs.check_tag.outputs.version }}
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}