From ef80f2c92dfac310e0c01f0799c6c1464089a048 Mon Sep 17 00:00:00 2001 From: sabarish-krishnan-wpp Date: Mon, 24 Aug 2026 15:05:22 +0530 Subject: [PATCH 1/2] make changes in the hello world job --- .../workflows/03-core-features--01-hello-world.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/03-core-features--01-hello-world.yaml b/.github/workflows/03-core-features--01-hello-world.yaml index b358d3af..944f1eef 100644 --- a/.github/workflows/03-core-features--01-hello-world.yaml +++ b/.github/workflows/03-core-features--01-hello-world.yaml @@ -8,3 +8,16 @@ jobs: runs-on: ubuntu-24.04 steps: - run: echo "Hello from an inline bash script in a GitHub Action Workflow!" + + say-hello-inline-python: + runs-on: ubuntu-24.04 + steps: + - run: | + "print('Hello from an inline Python script in a GitHub Action Workflow!' + shell: python + say-hello-action: + runs-on: ubuntu-24.04 + steps: + - uses: actions/hello-world-javascript-action@081a6d193d1dcb38460df1e6927486d748730f9d + with: + who-to-greet: "from an action in a GitHub Action Workflow!" \ No newline at end of file From 6c52bf21998fcb650e7ce9486b00a32257bbf128 Mon Sep 17 00:00:00 2001 From: sabarish-krishnan-wpp Date: Tue, 25 Aug 2026 16:14:40 +0530 Subject: [PATCH 2/2] just do it --- ...re-features--07-secrets-and-variables.yaml | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/03-core-features--07-secrets-and-variables.yaml b/.github/workflows/03-core-features--07-secrets-and-variables.yaml index e9865091..c7277fb8 100644 --- a/.github/workflows/03-core-features--07-secrets-and-variables.yaml +++ b/.github/workflows/03-core-features--07-secrets-and-variables.yaml @@ -8,33 +8,34 @@ jobs: environment: staging env: # Inject repository-level secret & variable into the shell - EXAMPLE_REPOSITORY_SECRET: ${{ secrets.EXAMPLE_REPOSITORY_SECRET }} - EXAMPLE_REPOSITORY_VARIABLE: ${{ vars.EXAMPLE_REPOSITORY_VARIABLE }} + CROWDSTRIKE_SIEM_SECRET: ${{ secrets.CROWDSTRIKE_SIEM }} + SPLUNK_MSSP_SECRET: ${{ vars.SPLUNK_MSSP }} # Inject environment-level items into the shell - EXAMPLE_ENVIRONMENT_SECRET: ${{ secrets.EXAMPLE_ENVIRONMENT_SECRET }} - EXAMPLE_ENVIRONMENT_VARIABLE: ${{ vars.EXAMPLE_ENVIRONMENT_VARIABLE }} + AZURE_URL_VARIABLE: ${{ secrets.AZURE_URL }} + YOUTUBE_URL_VARIABLE: ${{ vars.YOUTUBE_URL }} steps: - name: Inspect values inside job run: | - echo "Repo secret (masked): $EXAMPLE_REPOSITORY_SECRET" - echo "Repo variable: $EXAMPLE_REPOSITORY_VARIABLE" - echo "Env secret (masked): $EXAMPLE_ENVIRONMENT_SECRET" - echo "Env variable: $EXAMPLE_ENVIRONMENT_VARIABLE" + echo "CROWDSTRIKE_SIEM_SECRET (masked): $CROWDSTRIKE_SIEM_SECRET" + echo "SPLUNK_MSSP_SECRET (masked): $SPLUNK_MSSP_SECRET" + echo "AZURE_URL_VARIABLE: $AZURE_URL_VARIABLE" + echo "YOUTUBE_URL_VARIABLE: $YOUTUBE_URL_VARIABLE" production-environment: runs-on: ubuntu-24.04 environment: production env: # Inject repository-level secret & variable into the shell - EXAMPLE_REPOSITORY_SECRET: ${{ secrets.EXAMPLE_REPOSITORY_SECRET }} - EXAMPLE_REPOSITORY_VARIABLE: ${{ vars.EXAMPLE_REPOSITORY_VARIABLE }} + CROWDSTRIKE_SIEM_SECRET: ${{ secrets.CROWDSTRIKE_SIEM }} + SPLUNK_MSSP_SECRET: ${{ vars.SPLUNK_MSSP }} # Inject environment-level items into the shell - EXAMPLE_ENVIRONMENT_SECRET: ${{ secrets.EXAMPLE_ENVIRONMENT_SECRET }} + AZURE_URL_VARIABLE: ${{ secrets.AZURE_URL }} + YOUTUBE_URL_VARIABLE: ${{ vars.YOUTUBE_URL }} EXAMPLE_ENVIRONMENT_VARIABLE: ${{ vars.EXAMPLE_ENVIRONMENT_VARIABLE }} steps: - name: Inspect values inside job run: | - echo "Repo secret (masked): $EXAMPLE_REPOSITORY_SECRET" - echo "Repo variable: $EXAMPLE_REPOSITORY_VARIABLE" - echo "Env secret (masked): $EXAMPLE_ENVIRONMENT_SECRET" - echo "Env variable: $EXAMPLE_ENVIRONMENT_VARIABLE" + echo "Repo secret (masked): $CROWDSTRIKE_SIEM_SECRET" + echo "Repo variable: $SPLUNK_MSSP_SECRET" + echo "Env secret (masked): $AZURE_URL_VARIABLE" + echo "Env variable: $YOUTUBE_URL_VARIABLE"