Update #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Open URL on Successful Merge | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
open-url: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Open URL on successful merge | |
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true | |
run: | | |
curl -L -f -S -s https://mdwiki.toolforge.org/update_md.php > curl_output.txt || echo "Curl request failed with status code $?" |