https://pulumi.com logo
#getting-started
Title
# getting-started
s

sparse-intern-71089

06/14/2022, 7:32 AM
This message was deleted.
l

limited-rainbow-51650

06/14/2022, 7:56 AM
b

breezy-laptop-42679

06/14/2022, 7:58 AM
@limited-rainbow-51650 thanks for your reply but reuse across org was enabled though
l

limited-rainbow-51650

06/14/2022, 8:02 AM
I’m reading this in the linked page:
Reusable workflows stored within a private repository can only be used by workflows within the same repository.
Is there a new option where you can enable reuse within an organization using a private repository?
b

breezy-laptop-42679

06/14/2022, 8:16 AM
I think you're right this might be the reason I'm getting parse errors cause the reusable workflow to be called sits in a diff repo which is private
@limited-rainbow-51650 I just cheked again with my lead and on internet as well using it in org. level is allowed but i am getting this error:
Copy code
Invalid workflow file
error parsing called workflow "peopleticker/pulumi_preview_reusable/.github/workflows/pull_request.yml@main": workflow was not found. See <https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows> for more information.
Could please let me know your thoughts on the same.
here below is the current code that I am using
Copy code
name: "pull_request"

on:
  pull_request:
     types:
       - opened
       - edited
       - synchronize

permissions:
  pull-requests: write

jobs:
  call-workflow-passing-data:
    uses: peopleticker/pulumi_preview_reusable/.github/workflows/pull_request.yml@main
17 Views