From c54d81447cafe076c94b714f334286c7690d24d1 Mon Sep 17 00:00:00 2001 From: knative-automation Date: Tue, 5 Apr 2022 07:09:43 -0400 Subject: [PATCH] Update actions (#4900) Signed-off-by: Knative Automation --- .github/workflows/knative-go-build.yaml | 20 ++++---------------- .github/workflows/knative-go-test.yaml | 20 ++++---------------- .github/workflows/knative-releasability.yaml | 18 +++--------------- .github/workflows/knative-release-notes.yaml | 16 ++-------------- .github/workflows/knative-security.yaml | 20 ++++---------------- .github/workflows/knative-stale.yaml | 17 ++--------------- .github/workflows/knative-style.yaml | 18 +++--------------- .github/workflows/knative-verify.yaml | 2 +- 8 files changed, 23 insertions(+), 108 deletions(-) diff --git a/.github/workflows/knative-go-build.yaml b/.github/workflows/knative-go-build.yaml index eebce78dd..b83849869 100644 --- a/.github/workflows/knative-go-build.yaml +++ b/.github/workflows/knative-go-build.yaml @@ -1,26 +1,14 @@ # 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. +# SPDX-License-Identifier: Apache-2.0 -# This file is automagically synced here from github.com/knative-sandbox/.github -# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten. +# This file is automagically synced here from github.com/knative-sandbox/knobots name: Build on: pull_request: - branches: [ 'main', 'master', 'release-*' ] + branches: [ 'main', 'release-*' ] jobs: build: - uses: knative/actions/.github/workflows/go-build.yaml@main \ No newline at end of file + uses: knative/actions/.github/workflows/go-build.yaml@main diff --git a/.github/workflows/knative-go-test.yaml b/.github/workflows/knative-go-test.yaml index b47d1211a..acb301fbe 100644 --- a/.github/workflows/knative-go-test.yaml +++ b/.github/workflows/knative-go-test.yaml @@ -1,25 +1,13 @@ -# 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. +# Copyright 2022 The Knative Authors. +# SPDX-License-Identifier: Apache-2.0 -# This file is automagically synced here from github.com/knative-sandbox/.github -# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten. +# This file is automagically synced here from github.com/knative-sandbox/knobots name: Test on: pull_request: - branches: [ 'main', 'master', 'release-*' ] + branches: [ 'main', 'release-*' ] jobs: test: diff --git a/.github/workflows/knative-releasability.yaml b/.github/workflows/knative-releasability.yaml index f0c71557c..2a6f1b26b 100644 --- a/.github/workflows/knative-releasability.yaml +++ b/.github/workflows/knative-releasability.yaml @@ -1,19 +1,7 @@ -# 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. +# Copyright 2022 The Knative Authors. +# SPDX-License-Identifier: Apache-2.0 -# This file is automagically synced here from github.com/knative-sandbox/.github -# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten. +# This file is automagically synced here from github.com/knative-sandbox/knobots name: 'Releasability' diff --git a/.github/workflows/knative-release-notes.yaml b/.github/workflows/knative-release-notes.yaml index ac5465d8a..45de1cc4f 100644 --- a/.github/workflows/knative-release-notes.yaml +++ b/.github/workflows/knative-release-notes.yaml @@ -1,19 +1,7 @@ # 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. +# SPDX-License-Identifier: Apache-2.0 -# This file is automagically synced here from github.com/knative-sandbox/.github -# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten. +# This file is automagically synced here from github.com/knative-sandbox/knobots name: 'Release Notes' diff --git a/.github/workflows/knative-security.yaml b/.github/workflows/knative-security.yaml index d3df6a5ab..fbc343842 100644 --- a/.github/workflows/knative-security.yaml +++ b/.github/workflows/knative-security.yaml @@ -1,28 +1,16 @@ # 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. +# SPDX-License-Identifier: Apache-2.0 -# This file is automagically synced here from github.com/knative-sandbox/.github -# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten. +# This file is automagically synced here from github.com/knative-sandbox/knobots name: 'Security' on: push: - branches: [ 'main', 'master', 'release-*' ] + branches: [ 'main', 'release-*' ] pull_request: - branches: [ 'main', 'master', 'release-*' ] + branches: [ 'main', 'release-*' ] jobs: analyze: diff --git a/.github/workflows/knative-stale.yaml b/.github/workflows/knative-stale.yaml index b5ac74375..bca559c0c 100644 --- a/.github/workflows/knative-stale.yaml +++ b/.github/workflows/knative-stale.yaml @@ -1,20 +1,7 @@ # 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-sandbox/.github -# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten. +# SPDX-License-Identifier: Apache-2.0 +# This file is automagically synced here from github.com/knative-sandbox/knobots name: 'Close stale' on: diff --git a/.github/workflows/knative-style.yaml b/.github/workflows/knative-style.yaml index c2952087e..ee7d49f8f 100644 --- a/.github/workflows/knative-style.yaml +++ b/.github/workflows/knative-style.yaml @@ -1,25 +1,13 @@ # 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. +# SPDX-License-Identifier: Apache-2.0 -# This file is automagically synced here from github.com/knative-sandbox/.github -# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten. +# This file is automagically synced here from github.com/knative-sandbox/knobots name: Code Style on: pull_request: - branches: [ 'main', 'master', 'release-*' ] + branches: [ 'main', 'release-*' ] jobs: diff --git a/.github/workflows/knative-verify.yaml b/.github/workflows/knative-verify.yaml index 693b620e0..982a72711 100644 --- a/.github/workflows/knative-verify.yaml +++ b/.github/workflows/knative-verify.yaml @@ -19,7 +19,7 @@ name: Verify on: pull_request: - branches: [ 'main', 'master', 'release-*' ] + branches: [ 'main', 'release-*' ] jobs: verify: