Skip to content

Commit

Permalink
test benchmark action with write permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Assassin718 committed Oct 18, 2024
1 parent 34d3f3f commit 70a422d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,21 @@ on:
- 'changes/**'
- 'licenses/**'
- 'CHANGELOG.md'
types:
- closed
# types:
# - closed

jobs:
CI:
if: github.event.pull_request.merged == true
# if: github.event.pull_request.merged == true
runs-on: ${{ matrix.runner }}
timeout-minutes: 60
strategy:
matrix:
go-version: [ 1.19.10 ]
runner: [ ubuntu-latest ]
fail-fast: true
permissions:
contents: write
steps:
# Clean up space to prevent action from running out of disk space.
- name: clean
Expand Down Expand Up @@ -105,7 +107,7 @@ jobs:
run: git push 'https://alibaba:${{ secrets.GITHUB_TOKEN }}@github.com/alibaba/ilogtail.git' gh-pages:gh-pages

result:
if: github.event.pull_request.merged == true
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
timeout-minutes: 60
needs: [ CI ]
Expand Down

0 comments on commit 70a422d

Please sign in to comment.