Skip to content

Commit

Permalink
Merge pull request #2 from im-practices/sync-templates
Browse files Browse the repository at this point in the history
Syncing workflow templates from bdaim-bc-swat/.github
  • Loading branch information
im-org-management-bot authored Jun 22, 2021
2 parents 684468e + 0e87c6d commit 32107a8
Show file tree
Hide file tree
Showing 20 changed files with 1,659 additions and 0 deletions.
5 changes: 5 additions & 0 deletions workflow-templates/build.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions workflow-templates/checkmarx.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions workflow-templates/context-dump-workflow.properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Build - Dump Context Data to Console Workflow",
"description": "Workflow template for dumping the data of each context.",
"iconName": "build"
}
30 changes: 30 additions & 0 deletions workflow-templates/context-dump-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on: push

jobs:
one:
runs-on: ubuntu-latest
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"
Loading

0 comments on commit 32107a8

Please sign in to comment.