Skip to content

NO-ISSUE: Remove unnecessary GH workflows and fix sec advisories #217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 23, 2024
Merged
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
8 changes: 6 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

source:
- '**/*'
"documentation :notebook:":
- changed-files:
- any-glob-to-any-file: ['contrib/*', '**/*.md']
kubernetes:
- changed-files:
- any-glob-to-any-file: ['kubernetes/*', 'hack/builder-gen.sh', 'hack/deepcopy-gen.sh', 'Makefile']
27 changes: 0 additions & 27 deletions .github/labels.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/Go-SDK-Check-k8s-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ on:
- "Makefile"
branches:
- main

permissions:
contents: read

env:
GO_VERSION: 1.22
jobs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/Go-SDK-PR-Check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ on:
- "Makefile"
branches:
- main

permissions:
contents: read

env:
GO_VERSION: 1.22
jobs:
Expand Down Expand Up @@ -67,7 +71,7 @@ jobs:
changed_files=$(git status -s | grep -v 'go.mod\|go.sum\|tools.mod\|tools.sum' || :)
[[ -z "$changed_files" ]] || (printf "Some files are not formatted properly: \n$changed_files\n Did you run 'make test' before sending the PR?" && exit 1)
- name: Check lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 - Please ALWAYS use SHA to avoid GH sec issues
with:
version: latest
- name: Install cover
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/prow_commands.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/prow_cron_pull_request_merge.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/prow_remove_lgtm.yml

This file was deleted.

8 changes: 3 additions & 5 deletions .github/workflows/pull_request_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@

name: "Pull Request Labeler"
on:
- pull_request_target
- pull_request_target

jobs:
triage:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4.0.2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/labeler@v5
4 changes: 3 additions & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ name: Mark stale issues and pull requests
on:
schedule:
- cron: "0 0 * * *"

permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
Expand Down
Loading