Skip to content

Commit

Permalink
fix: release on success only and credential to pass protection rule (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jiashenC authored Sep 20, 2023
1 parent 58489e6 commit e787111
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ on:
- staging

jobs:
release:
release-on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: Install env.
run: |
python -m venv test_evadb
Expand Down

0 comments on commit e787111

Please sign in to comment.