From 8f1f92c5f662193a1d22033f1b50cdbf4fa86e81 Mon Sep 17 00:00:00 2001 From: alianides Date: Tue, 10 Sep 2024 17:55:16 +0000 Subject: [PATCH] update test workflows to leverage default token and updated triggers for all workflows --- .github/workflows/spacefx-client-build.yaml | 1 + .github/workflows/test-spacefx-client-dotnet.yaml | 8 +++++--- .github/workflows/test-spacefx-client-python.yaml | 8 +++++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/spacefx-client-build.yaml b/.github/workflows/spacefx-client-build.yaml index 24a4abf..fcc9e98 100644 --- a/.github/workflows/spacefx-client-build.yaml +++ b/.github/workflows/spacefx-client-build.yaml @@ -5,6 +5,7 @@ on: push: branches: - main + - '[0-9]*.[0-9]*.[0-9]*-nightly' jobs: build-spacefx-client-amd64: diff --git a/.github/workflows/test-spacefx-client-dotnet.yaml b/.github/workflows/test-spacefx-client-dotnet.yaml index be5369b..130d99f 100644 --- a/.github/workflows/test-spacefx-client-dotnet.yaml +++ b/.github/workflows/test-spacefx-client-dotnet.yaml @@ -2,7 +2,9 @@ name: test-spacefx-client-dotnet on: workflow_dispatch: pull_request: - branches: [ main ] + branches: + - main + - '[0-9]*.[0-9]*.[0-9]*-nightly' jobs: test-spacefx-client-dotnet-amd64: @@ -17,7 +19,7 @@ jobs: WORKFLOW_AGENT: ubuntu-latest secrets: GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }} - GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }} + GIT_HUB_USER_TOKEN: ${{ secrets.GITHUB_TOKEN }} SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }} test-spacefx-client-dotnet-arm64: @@ -32,5 +34,5 @@ jobs: WORKFLOW_AGENT: spacesdk-ubuntu-2204LTS-arm64 secrets: GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }} - GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }} + GIT_HUB_USER_TOKEN: ${{ secrets.GITHUB_TOKEN }} SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }} \ No newline at end of file diff --git a/.github/workflows/test-spacefx-client-python.yaml b/.github/workflows/test-spacefx-client-python.yaml index 8ba6eb9..11d1232 100644 --- a/.github/workflows/test-spacefx-client-python.yaml +++ b/.github/workflows/test-spacefx-client-python.yaml @@ -2,7 +2,9 @@ name: test-spacefx-client-python on: workflow_dispatch: pull_request: - branches: [ main ] + branches: + - main + - '[0-9]*.[0-9]*.[0-9]*-nightly' jobs: test-spacefx-client-python-amd64: @@ -17,7 +19,7 @@ jobs: WORKFLOW_AGENT: ubuntu-latest secrets: GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }} - GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }} + GIT_HUB_USER_TOKEN: ${{ secrets.GITHUB_TOKEN }} SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }} test-spacefx-client-python-arm64: @@ -32,5 +34,5 @@ jobs: WORKFLOW_AGENT: spacesdk-ubuntu-2204LTS-arm64 secrets: GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }} - GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }} + GIT_HUB_USER_TOKEN: ${{ secrets.GITHUB_TOKEN }} SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }} \ No newline at end of file