Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/close-pr.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Close PR

permissions:
pull-requests: write

on:
workflow_dispatch:
inputs:
Expand All @@ -19,6 +16,8 @@ on:
required: true
type: string

permissions: {}

jobs:
update:
name: Close PR
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/crds.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: Update CRDs for chart repo

permissions:
contents: read
pull-requests: write

on:
release:
types: [published]

permissions: {}

jobs:
update-crds:
if: "!contains(github.event.release.tag_name, '-rc')"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
- 'README.md'
- '.github/workflows/docs.yaml'

permissions:
contents: write
permissions: {}

jobs:
update-docs:
Expand All @@ -22,6 +21,7 @@ jobs:
- name: Checkout operator repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
token: ${{ secrets.VM_BOT_GH_TOKEN }}
path: __vm-operator

- name: Checkout docs repo
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
build:
name: Build and Test
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/operatorhub.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: Publish OperatorHub release

permissions:
contents: read
pull-requests: write

on:
workflow_run:
workflows:
- Release
types:
- completed

permissions: {}

jobs:
update:
name: Publish new OperatorHub release
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
types:
- created
- prereleased

permissions: {}

jobs:
release:
name: Release on GitHub
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ on:
default: master
type: string

permissions:
contents: read
pull-requests: write
permissions: {}

jobs:
update:
Expand All @@ -29,6 +27,7 @@ jobs:
with:
repository: VictoriaMetrics/operator
ref: ${{ github.event.inputs.branch }}
token: ${{ secrets.VM_BOT_GH_TOKEN }}

- name: Publish image
id: publish
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/upgrade-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: Upgrade Tests
on:
workflow_dispatch:
permissions: {}
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
checks: write
steps:
- name: Free space
Expand Down
Loading