Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion .github/workflows/05-2-filters-activity-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:
- closed
branches:
- main # This workflow will only run for PRs targeting the main branch
- develop # This workflow will also run for PRs targeting the develop branch
jobs:
echo:
runs-on: ubuntu-latest
steps:
- run: echo "Running whenever a PR is closed"
- run: echo "Running whenever a PR is closed !"
22 changes: 22 additions & 0 deletions .github/workflows/06-contexts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 06 - Contexts

on:
push:
workflow_dispatch: # Allows manual triggering of the workflow

jobs:
echo-data:
runs-on: ubuntu-latest
steps:
- name: Display information
run: |
echo "Event Name: ${{ github.event_name }}"
echo "Reference: ${{ github.ref }}"
echo "SHA: ${{ github.sha }}"
echo "Actor: ${{ github.actor }}"
echo "Workflow: ${{ github.workflow }}"
echo "Run ID: ${{ github.run_id }}"
echo "Run number: ${{ github.run_number }}"
- name: Retrieve Variable
run: |
echo "Variable value: ${{ vars.MY_VAR }}!"