Skip to content

Commit

Permalink
Update actions (#1009)
Browse files Browse the repository at this point in the history
Signed-off-by: Knative Automation <automation@knative.team>
  • Loading branch information
knative-automation committed Apr 30, 2021
1 parent 4ffaf0b commit 9cf3ed4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/knative-releasability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
env:
#########################################
# Update this section each release. #
RELEASE: 'v0.21'
SLACK_CHANNEL: 'release-21'
RELEASE: 'v0.22'
SLACK_CHANNEL: 'release-22'
#########################################

steps:
Expand All @@ -60,7 +60,7 @@ jobs:
go-version: 1.15.x

- name: Install Dependencies
run: GO111MODULE=on go get knative.dev/test-infra/buoy@master
run: GO111MODULE=on go get knative.dev/test-infra/buoy@main

- name: Check out code
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/knative-release-notes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ on:
workflow_dispatch:
inputs:
branch:
description: 'Branch? (master)'
description: 'Branch? (main)'
required: true
default: 'master'
default: 'main'
start-sha:
description: 'Starting SHA? (last tag on branch)'
end-sha:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/knative-security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ jobs:
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/knative-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
if: steps.golangci_configuration.outputs.files_exists == 'true'
uses: golangci/golangci-lint-action@v2
with:
version: v1.35
version: v1.38

- name: misspell
shell: bash
Expand All @@ -147,7 +147,7 @@ jobs:
git check-attr --stdin linguist-generated | grep -Ev ': (set|true)$' | cut -d: -f1 |
git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 |
grep -Ev '^(vendor/|third_party/|.git)' |
xargs misspell -error |
xargs misspell -i importas -error |
reviewdog -efm="%f:%l:%c: %m" \
-name="github.com/client9/misspell" \
-reporter="github-pr-check" \
Expand Down

0 comments on commit 9cf3ed4

Please sign in to comment.