From 4e40830254b4dfd1f319988dd170e8edb55cccbd Mon Sep 17 00:00:00 2001 From: Rich Green Date: Tue, 20 Feb 2024 16:54:54 +0000 Subject: [PATCH 1/3] add gap --- .github/workflows/github-actions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 386e1bb..191003f 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -35,4 +35,5 @@ jobs: if [ -f error.txt ]; then cat error.txt gh pr comment ${{ github.event.number }} --body $(cat error.txt) - fi \ No newline at end of file + fi + \ No newline at end of file From b51020b92f49ecf27c02c81ec43ddf9ca94f234c Mon Sep 17 00:00:00 2001 From: Rich Green Date: Thu, 22 Feb 2024 13:46:53 +0000 Subject: [PATCH 2/3] test --- .github/workflows/github-actions-test.yml | 39 +++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/github-actions-test.yml diff --git a/.github/workflows/github-actions-test.yml b/.github/workflows/github-actions-test.yml new file mode 100644 index 0000000..191003f --- /dev/null +++ b/.github/workflows/github-actions-test.yml @@ -0,0 +1,39 @@ +name: GitHub Actions Demo +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +on: + push: + pull_request: + workflow_dispatch: + # schedule: + # # run at 9:30 daily + # - cron: '30 9 * * *' +env: + GH_TOKEN: ${{ github.token }} +permissions: write-all + # contents: read + # issues: write + # repository-projects: write +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 }}." + - name: Test + run: | + + ./scripts/test.sh + if [ -f error.txt ]; then + cat error.txt + gh pr comment ${{ github.event.number }} --body $(cat error.txt) + fi + \ No newline at end of file From 1663ed5d309ad31ad321cda9a863452e3903f103 Mon Sep 17 00:00:00 2001 From: Rich Green Date: Thu, 22 Feb 2024 13:50:14 +0000 Subject: [PATCH 3/3] test --- .github/workflows/github-actions-test.yml | 39 ----------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/github-actions-test.yml diff --git a/.github/workflows/github-actions-test.yml b/.github/workflows/github-actions-test.yml deleted file mode 100644 index 191003f..0000000 --- a/.github/workflows/github-actions-test.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: GitHub Actions Demo -run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 -on: - push: - pull_request: - workflow_dispatch: - # schedule: - # # run at 9:30 daily - # - cron: '30 9 * * *' -env: - GH_TOKEN: ${{ github.token }} -permissions: write-all - # contents: read - # issues: write - # repository-projects: write -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 }}." - - name: Test - run: | - - ./scripts/test.sh - if [ -f error.txt ]; then - cat error.txt - gh pr comment ${{ github.event.number }} --body $(cat error.txt) - fi - \ No newline at end of file