Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make build workflows triggerable via dispatch with commitish input #11

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Nov 17, 2020

As requested in #8.

@jwodder
Copy link
Member Author

jwodder commented Nov 17, 2020

The option to trigger the workflows manually isn't showing up in the web UI (presumably because the PR isn't merged), but I was able to trigger this workflow run via the REST API:

curl -XPOST \
    -H "Accept: application/vnd.github.v3+json" \
    -H "Authorization: REDACTED" \
    -d '{"ref": "gh-8", "inputs": {"commitish": "8.20200908"}}' \
    https://api.github.com/repos/datalad/git-annex/actions/workflows/3364464/dispatches

(I tried some older tags first, but those builds failed because the repo then didn't have a certain file the workflow needs.)

@yarikoptic yarikoptic merged commit 3149f3b into master Nov 18, 2020
@yarikoptic yarikoptic deleted the gh-8 branch November 18, 2020 14:45
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.

2 participants