Skip to content

Commit

Permalink
update test workflows to leverage default token and updated triggers …
Browse files Browse the repository at this point in the history
…for all workflows
  • Loading branch information
alianides committed Sep 10, 2024
1 parent 50de61f commit 8f1f92c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/spacefx-client-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- main
- '[0-9]*.[0-9]*.[0-9]*-nightly'

jobs:
build-spacefx-client-amd64:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-spacefx-client-dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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 }}
8 changes: 5 additions & 3 deletions .github/workflows/test-spacefx-client-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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 }}

0 comments on commit 8f1f92c

Please sign in to comment.