From affb298eaaee002ea350574ceeaf4e8bb49fc6c1 Mon Sep 17 00:00:00 2001 From: notsorefreshing <154696555+notsorefreshing@users.noreply.github.com> Date: Sat, 23 Dec 2023 17:46:36 +0000 Subject: [PATCH 1/3] Sample action. --- .github/workflows/show-me-the-env.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/show-me-the-env.yml diff --git a/.github/workflows/show-me-the-env.yml b/.github/workflows/show-me-the-env.yml new file mode 100644 index 0000000..15a61d6 --- /dev/null +++ b/.github/workflows/show-me-the-env.yml @@ -0,0 +1,18 @@ +name: GitHub Actions Demo +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +on: [push] +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." From 45fdd00a8b74f16e660a7891bde6ff867518849f Mon Sep 17 00:00:00 2001 From: notsorefreshing <154696555+notsorefreshing@users.noreply.github.com> Date: Sat, 23 Dec 2023 17:53:22 +0000 Subject: [PATCH 2/3] show me the env --- .github/workflows/show-me-the-env.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/show-me-the-env.yml b/.github/workflows/show-me-the-env.yml index 15a61d6..2dc1199 100644 --- a/.github/workflows/show-me-the-env.yml +++ b/.github/workflows/show-me-the-env.yml @@ -1,18 +1,8 @@ -name: GitHub Actions Demo +name: Show me the env run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 on: [push] jobs: Explore-GitHub-Actions: runs-on: ubuntu-latest steps: - - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - - name: Check out repository code - uses: actions/checkout@v4 - - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ github.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." + - run: env \ No newline at end of file From 10e1f615c9468e36864c1ca7617238f7eb01b9c3 Mon Sep 17 00:00:00 2001 From: notsorefreshing <154696555+notsorefreshing@users.noreply.github.com> Date: Sat, 23 Dec 2023 18:20:35 +0000 Subject: [PATCH 3/3] Includ the secret --- .github/workflows/show-me-the-env.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/show-me-the-env.yml b/.github/workflows/show-me-the-env.yml index 2dc1199..4804aa5 100644 --- a/.github/workflows/show-me-the-env.yml +++ b/.github/workflows/show-me-the-env.yml @@ -1,8 +1,12 @@ name: Show me the env + run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 on: [push] jobs: Explore-GitHub-Actions: runs-on: ubuntu-latest steps: - - run: env \ No newline at end of file + - name: Run env + run: env + env: + SENTRY_TERRAFORM_AUTH_TOKEN: ${{ secrets.SENTRY_TOKEN }} \ No newline at end of file