Skip to content

Commit

Permalink
[main] Update actions (#3)
Browse files Browse the repository at this point in the history
Update actions

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored Sep 23, 2024
1 parent e35d332 commit 2a70377
Show file tree
Hide file tree
Showing 6 changed files with 105 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/knative-go-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2020 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-extensions/knobots

name: Build

on:
pull_request:
branches: [ 'main', 'release-*' ]

jobs:
build:
uses: knative/actions/.github/workflows/reusable-go-build.yaml@main
19 changes: 19 additions & 0 deletions .github/workflows/knative-go-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2022 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-extensions/knobots

name: Test

on:
push:
branches: [ 'main', 'release-*' ]

pull_request:
branches: [ 'main', 'release-*' ]

jobs:
test:
uses: knative/actions/.github/workflows/reusable-go-test.yaml@main
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/knative-security.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2020 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-extensions/knobots

name: 'Security'

on:
push:
branches: [ 'main', 'release-*' ]

pull_request:
branches: [ 'main', 'release-*' ]

jobs:
analyze:
uses: knative/actions/.github/workflows/reusable-security.yaml@main
14 changes: 14 additions & 0 deletions .github/workflows/knative-stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2020 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-extensions/knobots
name: 'Close stale'

on:
schedule:
- cron: '0 1 * * *'

jobs:

stale:
uses: knative/actions/.github/workflows/reusable-stale.yaml@main
15 changes: 15 additions & 0 deletions .github/workflows/knative-style.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2020 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-extensions/knobots

name: Code Style

on:
pull_request:
branches: [ 'main', 'release-*' ]

jobs:

style:
uses: knative/actions/.github/workflows/reusable-style.yaml@main
26 changes: 26 additions & 0 deletions .github/workflows/knative-verify.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2020 The Knative Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is automagically synced here from github.com/knative-extensions/.github
# repo by knobots: https://github.com/knative-extensions/knobots and will be overwritten.

name: Verify

on:
pull_request:
branches: [ 'main', 'release-*' ]

jobs:
verify:
uses: knative/actions/.github/workflows/reusable-verify-codegen.yaml@main

0 comments on commit 2a70377

Please sign in to comment.