Skip to content

Commit cd7f6ee

Browse files
authored
Merge pull request #137 from sp-yduck/improve/ci
disable chat command
2 parents 1546b64 + 3a0410c commit cd7f6ee

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,16 @@ on:
44
push:
55
branches:
66
- main
7-
issue_comment:
8-
types: [created, edited]
97

108
env:
119
REGISTRY: docker.io
1210
IMAGE_NAME: spyduck/cluster-api-provider-proxmox
13-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1411

1512
jobs:
1613
# add public code coverage reports
1714
coverage:
1815
name: unit test coverage
1916
runs-on: ubuntu-latest
20-
if: github.event_name == 'push' || contains(github.event.comment.body, '/unit-test')
2117
steps:
2218
- uses: actions/checkout@master
2319
- run: "make unit-test-cover"
@@ -27,7 +23,6 @@ jobs:
2723
build:
2824
name: docker build & push
2925
runs-on: ubuntu-latest
30-
if: github.event_name == 'push' || contains(github.event.comment.body, '/buid-push')
3126
steps:
3227
- name: Checkout repository
3328
uses: actions/checkout@v4
@@ -40,13 +35,4 @@ jobs:
4035

4136
# platform = linux/amd64,linux/arm64
4237
- name: Build and push Docker image
43-
run: "make docker-buildx IMG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${GITHUB_SHA::7}"
44-
45-
# report result to pr comment if event is pr comment
46-
result:
47-
name: report to pr comment
48-
runs-on: ubunt-latest
49-
if: github.event_name == 'issue_comment' && ${{ github.event.issue.pull_request }}
50-
steps:
51-
- run: |
52-
gh pr comment ${{ github.event.issue.number }} -b "[Actions: CI] Check result [here](https://github.com/sp-yduck/cluster-api-provider-proxmox/actions/runs/${{ github.run_number }})"
38+
run: "make docker-buildx IMG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${GITHUB_SHA::7}"

0 commit comments

Comments
 (0)