Skip to content

Commit

Permalink
Merge pull request #1361 from necyberteam/drupal/examples
Browse files Browse the repository at this point in the history
[Composer] drupal/examples
  • Loading branch information
protitude authored Mar 1, 2025
2 parents 8f7a540 + 5c4ce60 commit b9d7646
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 124 deletions.
121 changes: 11 additions & 110 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
accessmatch1:
name: accessmatch1
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'accessmatch1') || ( github.event_name == 'pull_request' && github.event_name != 'merge_group' )
if: contains(github.event.inputs.sites, 'accessmatch1') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "accessmatch"
Expand All @@ -34,17 +34,10 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

accessmatch2:
name: accessmatch2
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'accessmatch2') || (github.event_name == 'pull_request' && github.event_name != 'merge_group')
if: contains(github.event.inputs.sites, 'accessmatch2') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "accessmatch"
Expand All @@ -56,17 +49,10 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

accessmatch3:
name: accessmatch3
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'accessmatch3') || ( github.event_name == 'pull_request' && github.event_name != 'merge_group' )
if: contains(github.event.inputs.sites, 'accessmatch3') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "accessmatch"
Expand All @@ -78,17 +64,10 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

ccmnet:
name: ccmnet
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'ccmnet') || ( github.event_name == 'pull_request' && github.event_name != 'merge_group' )
if: contains(github.event.inputs.sites, 'ccmnet') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "ccmnet"
Expand All @@ -100,17 +79,10 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

connectci:
name: connectci
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'connectci') || ( github.event_name == 'pull_request' && github.event_name != 'merge_group' )
if: contains(github.event.inputs.sites, 'connectci') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "connectci"
Expand All @@ -122,17 +94,10 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

crct:
name: crct
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'crct') || ( github.event_name == 'pull_request' && github.event_name != 'merge_group' )
if: contains(github.event.inputs.sites, 'crct') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "crct"
Expand All @@ -144,17 +109,10 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

campuschampions:
name: campuschampions
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'campuschampions') || ( github.event_name == 'pull_request' && github.event_name != 'merge_group' )
if: contains(github.event.inputs.sites, 'campuschampions') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "campuschampions"
Expand All @@ -166,17 +124,10 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

coco:
name: coco
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'coco') || ( github.event_name == 'pull_request' && github.event_name != 'merge_group' )
if: contains(github.event.inputs.sites, 'coco') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "coco"
Expand All @@ -188,17 +139,10 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

greatplains:
name: greatplains
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'greatplains') || ( github.event_name == 'pull_request' && github.event_name != 'merge_group' )
if: contains(github.event.inputs.sites, 'greatplains') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "greatplains"
Expand All @@ -210,17 +154,10 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

kyct:
name: kyct
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'kyct') || ( github.event_name == 'pull_request' && github.event_name != 'merge_group' )
if: contains(github.event.inputs.sites, 'kyct') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "kyct"
Expand All @@ -232,17 +169,10 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

nect:
name: nect
uses: necyberteam/reusable_actions/.github/workflows/[email protected]
if: contains(github.event.inputs.sites, 'nect') || ( github.event_name == 'pull_request' && github.event_name != 'merge_group' )
if: contains(github.event.inputs.sites, 'nect') || github.event_name == 'pull_request'
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
site: "nect"
Expand All @@ -254,35 +184,6 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
REPO: "${{ github.server_url }}/${{ github.repository }}"

name: Grab backup and fix backup
runs-on: ubuntu-latest
if: github.event_name == 'merge_group'
steps:
- name: Force success
run: echo "Force success"

# success:
# name: Actions to run on success
# needs: [asp]
# if: ${{ success() || ( always() && ! cancelled() && ! failure() ) }}
# runs-on: ubuntu-latest
# steps:
# - name: Comment on pull request
# if: "${{ env.prnum != '' }}"
# run: |
# gh pr comment $prnum -R $REPO --body "🤖 -=-=-=- Cypress Test was Successful -=-=-=- 🤖"
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# prnum: ${{ github.event.inputs.prnum }}
# REPO: "${{ github.server_url }}/${{ github.repository }}"
# - name: Slack Notification Success
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# SLACK_MESSAGE: '🤖 -=-=-=- Cypress Test Succeeded -=-=-=- 🤖'
# SLACK_TITLE: "Cypress tests passed"
# SLACK_CHANNEL: cypress-git-notifications

fail:
name: Actions to run on fail
needs: [accessmatch1, accessmatch2, accessmatch3, ccmnet, connectci, crct, campuschampions, coco, greatplains, kyct, nect]
Expand Down
87 changes: 73 additions & 14 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b9d7646

Please sign in to comment.