Skip to content
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

default releasability slack channel to knative-release #108

Merged
merged 2 commits into from
Mar 17, 2023

Conversation

dprotaso
Copy link
Member

No description provided.

@knative-prow knative-prow bot requested review from cardil and upodroid March 17, 2023 15:54
@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 17, 2023
Copy link
Member

@upodroid upodroid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@knative-prow
Copy link

knative-prow bot commented Mar 17, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, upodroid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Mar 17, 2023
@knative-prow knative-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 17, 2023
@dprotaso
Copy link
Member Author

@kvmware seems like the linter is broken? or the workflow was never fixed up?

@krsna-m
Copy link
Contributor

krsna-m commented Mar 17, 2023

Looks like the latter. Reviewdog is reporting shellcheck issues

@krsna-m
Copy link
Contributor

krsna-m commented Mar 17, 2023

/lgtm
I can see if i can address the shellcheck issues later

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Mar 17, 2023
@krsna-m
Copy link
Contributor

krsna-m commented Mar 17, 2023

#109 this will disable the shellcheck functionality in actionlint and also disable actionlinting on composite actions (does not seem supported)

@dprotaso
Copy link
Member Author

actionlinting on composite actions

This worked before

5ed5e1f

@krsna-m
Copy link
Contributor

krsna-m commented Mar 17, 2023

actionlinting on composite actions

This worked before

5ed5e1f

This worked because you were searching for *.yaml which are indeed workflow files on this repo however the action files are *.yml which would have not been checked. Running actionlint oneself can see:

~/go/bin/actionlint  action.yml 
action.yml:1:1: "on" section is missing in workflow [syntax-check]
  |
1 | name: "suggester / github_actions"
  | ^~~~~
action.yml:1:1: "jobs" section is missing in workflow [syntax-check]
  |
1 | name: "suggester / github_actions"
  | ^~~~~
action.yml:2:1: unexpected key "description" for "workflow" section. expected one of "concurrency", "defaults", "env", "jobs", "name", "on", "permissions", "run-name" [syntax-check]
  |
2 | description: "Uses reviewdog to suggest github actions yaml format changes."
  | ^~~~~~~~~~~~
action.yml:4:1: unexpected key "inputs" for "workflow" section. expected one of "concurrency", "defaults", "env", "jobs", "name", "on", "permissions", "run-name" [syntax-check]
  |
4 | inputs:
  | ^~~~~~~
action.yml:9:1: unexpected key "runs" for "workflow" section. expected one of "concurrency", "defaults", "env", "jobs", "name", "on", "permissions", "run-name" [syntax-check]
  |
9 | runs:
  | ^~~~~

It also is a currently open feature request rhysd/actionlint#46

@knative-prow knative-prow bot merged commit 0ad24de into knative:main Mar 17, 2023
@dprotaso dprotaso deleted the slack-channel branch March 17, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants