docs icon indicating copy to clipboard operation
docs copied to clipboard

Document limitation with reusable workflows

Open unchris opened this issue 3 years ago • 3 comments

Why:

Closes https://github.com/github/docs/issues/22746

If you create a reusable workflow in repository A and that workflow uses a composite action defined also in repository A, you cannot use the reusable workflow from repository B.

This community discussion does a good job illustrating the issue, but basically the upstream workflow assumes that the composite action will be in the context of repository B's files when it should be looking in repository A's files.

What's being changed (if available, include any code snippets, screenshots, or gifs):

I'm adding a limitation to the Limitations section for Reusable Workflows.

Check off the following:

  • [x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
  • [x] For content changes, I have completed the self-review checklist.

unchris avatar Dec 16 '22 21:12 unchris

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

welcome[bot] avatar Dec 16 '22 21:12 welcome[bot]

Automatically generated comment ℹ️

This comment is automatically generated and will be overwritten every time changes are committed to this branch.

The table contains an overview of files in the content directory that have been changed in this pull request. It's provided to make it easy to review your changes on the staging site. Please note that changes to the data directory will not show up in this table.


Content directory changes

You may find it useful to copy this table into the pull request summary. There you can edit it to share links to important articles or changes and to give a high-level overview of how the changes in your pull request support the overall goals of the pull request.

Source Preview Production What Changed
actions/using-workflows/reusing-workflows.md fpt
ghec
ghes@ 3.7 3.6 3.5 3.4
ghae
fpt
ghec
ghes@ 3.7 3.6 3.5 3.4
ghae

fpt: Free, Pro, Team ghec: GitHub Enterprise Cloud ghes: GitHub Enterprise Server ghae: GitHub AE

github-actions[bot] avatar Dec 16 '22 21:12 github-actions[bot]

@unchris Thank you for opening a PR and linking it to your issue! ✨

We appreciate all the info. I'll get this triaged for review! ⚡

cmwilson21 avatar Dec 19 '22 22:12 cmwilson21

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues :zap:

github-actions[bot] avatar Jan 24 '23 17:01 github-actions[bot]