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

Update workflow #34

Merged
merged 1 commit into from
Sep 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 6 additions & 12 deletions .github/workflows/mediawiki-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ jobs:
PHAN_DOCKER_IMAGE: mediawiki-phan-php${{ matrix.php-docker }}

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v2

# /home/runner/cache/ Cache
Expand Down Expand Up @@ -321,7 +326,7 @@ jobs:
# MediaWikiServices::getInstance()->getDBLoadBalancerFactory()->setRequestInfo(). THIS IS ALREADY FIXED FOR REL1_37 AND LATER.
# WITH https://github.com/wikimedia/mediawiki/commit/29827d

if [ -d src/extensions/CreateWiki ] && [ "${MEDIAWIKI_VERSION}" == 'REL1_36' ]; then
if [ -d src/extensions/CreateWiki ] || [ "${{ github.event.repository.name }}" == 'CreateWiki' ] && [ "${MEDIAWIKI_VERSION}" == 'REL1_36' ]; then
curl -sL https://raw.githubusercontent.com/Universal-Omega/scripts/master/mediawiki/hacks/Setup-REL1_36.php > src/includes/Setup.php
fi

Expand Down Expand Up @@ -439,14 +444,3 @@ jobs:
nickname: miraheze-github
message: ${{ github.repository }} - ${{ github.actor }} the build has errored.
sasl_password: ${{ secrets.IRC_MIRAHEZEBOTS }}

- name: cancelled
uses: technote-space/workflow-conclusion-action@v2
- uses: rectalogic/notify-irc@v1
if: env.WORKFLOW_CONCLUSION == 'cancelled'
with:
channel: "#miraheze-sre"
server: "irc.libera.chat"
nickname: miraheze-github
message: ${{ github.repository }} - ${{ github.actor }} the build has been cancelled.
sasl_password: ${{ secrets.IRC_MIRAHEZEBOTS }}