Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
NolwenMajorFrances committed Oct 18, 2024
1 parent 70c9220 commit 987ea13
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/dev_on_pull_request_reassure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,30 @@ jobs:
run: yarn danger ci
- name: Check if render count increased, fail if so
run: ./scripts/reassure_test_check.sh
understand-status:
runs-on: ubuntu-22.04
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"
4 changes: 2 additions & 2 deletions .github/workflows/dev_on_workflow_web_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ jobs:
"attachments": [
{
"mrkdwn_in": ["text"],
"color": "${{ fromJSON('["#A30002","#36a64f"]')[steps.web_deploy.outputs.status == 'success'] }}",
"color": "${{ fromJSON('["#A30002","#36a64f"]')[contains(['failure', 'cancelled'], steps.web_deploy.outputs.status) ? 0 : 1] }}",
"author_name": "${{github.actor}}",
"author_link": "https://github.com/${{github.actor}}",
"author_icon": "https://github.com/${{github.actor}}.png",
"title": "PCAPPNATIVE Deployment",
"title_link": "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}",
"text": "Le déploiement Web sur `${{ inputs.ENV }}` a ${{ fromJSON('["échoué :boom:","réussi :rocket:"]')[steps.web_deploy.outputs.status == 'success'] }}"
"text": "${{ contains(['failure', 'cancelled'], steps.web_deploy.outputs.status) ? 'Le déploiement Web sur `${{ inputs.ENV }}` a échoué :boom:' : 'Le déploiement Web sur `${{ inputs.ENV }}` a réussi :rocket:' }}"
}
],
"unfurl_links": false,
Expand Down

0 comments on commit 987ea13

Please sign in to comment.