Skip to content

Add workflow_call to actions workflow example#40

Open
mschoettle wants to merge 1 commit into
fsfe:mainfrom
mschoettle:patch-1
Open

Add workflow_call to actions workflow example#40
mschoettle wants to merge 1 commit into
fsfe:mainfrom
mschoettle:patch-1

Conversation

@mschoettle
Copy link
Copy Markdown

Allows the workflow to be called from another workflow.

I copied the given example into its own workflow inside our .github repository of our organization. Calling it from another workflow didn't work because workflow_call was missing.

Not necessary, but could be nice to have this in the example.

Allows the workflow to be called from another workflow
@mschoettle
Copy link
Copy Markdown
Author

/cc @mxmehl @carmenbianca

Comment thread README.md
name: REUSE Compliance Check

on: [push, pull_request]
on: [push, pull_request, workflow_call]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might as well add workflow_dispatch so we can trigger it manually 😃

@JaclynCodes
Copy link
Copy Markdown

This pull request makes a minor update to the workflow documentation in README.md to allow the lint workflow to be triggered by reusable workflow calls.

  • Documentation update: The workflow trigger in the example .yml file now includes workflow_call, enabling the workflow to be invoked by other workflows.
    React.app.txt
    Google Gemini.md
    index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants