Hi there, I'm trying to add <https://github.com/pa...
# pactflow
w
Hi there, I'm trying to add https://github.com/pactflow/actions/tree/main/publish-provider-contract#example to my workflow file. But each time I'm getting errors
Copy code
[run-consumer-contract-tests/Contract Tests - Consumer/Publish provider's contract for JS services]   ☁  git clone '<https://code>.(...).com/pactflow/actions' # ref=v2
[run-consumer-contract-tests/Contract Tests - Consumer/Publish provider's contract for JS services] [DEBUG]   cloning <https://code>.(...).com/pactflow/actions to /Users/(...)/.cache/act/pactflow-actions-publish-pact-files@v2
[run-consumer-contract-tests/Contract Tests - Consumer/Publish provider's contract for JS services] Unable to clone <https://code>.(...).com/pactflow/actions refs/heads/v2: repository not found: Repository not found.
[run-consumer-contract-tests/Contract Tests - Consumer/Publish provider's contract for JS services] repository not found: Repository not found.
[run-consumer-contract-tests/Contract Tests - Consumer/Publish provider's contract for JS services] [DEBUG] skipping post step for 'Archive App Run Log'; step was not executed
[run-consumer-contract-tests/Contract Tests - Consumer/Publish provider's contract for JS services] [DEBUG] skipping post step for 'pactflow/actions/publish-pact-files@v2'; step was not executed
It looks like it's trying to get that action from our GHEC server. I also tried to set
github-server-url
first for checkout action. How should I use it when working on GHEC? Preferably not copying that action repo to our instance *I hope I used proper channel
y
I haven’t used ghec, and it would be different dependant on your orgs settings. Is it configured to be able to source external public actions? https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-organizati[…]gs/disabling-or-limiting-github-actions-for-your-organization Haven’t seen anyone raise this as an issue either, but happy to help advise where we can
thankyou 1
w
Thank you, I'll try to figure out our configuration