Skip to content
Open
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
16 changes: 0 additions & 16 deletions .github/workflows/greenting.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Greetings

on: [push]

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
message: "Test"
Comment on lines +10 to +12

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue

Critical Issue: Invalid Input Key "message" in Action Step

The action "actions/first-interaction@v1" does not support the input key "message". Valid inputs include "issue-message" or "pr-message" (in addition to "repo-token"). Depending on the intended use-case, please replace "message" with either "pr-message" (if targeting pull requests) or "issue-message" (if targeting issues).

Proposed diff (example using pull request messaging):

-        message: "Test"
+        pr-message: "Test"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
message: "Test"
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
pr-message: "Test"
🧰 Tools
🪛 actionlint (1.7.4)

12-12: input "message" is not defined in action "actions/first-interaction@v1". available inputs are "issue-message", "pr-message", "repo-token"

(action)

2 changes: 1 addition & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
steps:
# Runs a single command using the runners shell
- name: Send greeting
run: echo "Hello ${{ inputs.name }}"
rn: echo "Hello ${{ inputs.name }}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue

Critical Typo: Incorrect Key "rn" Used Instead of "run"

The workflow step uses the key "rn" which is not recognized by GitHub Actions. This issue will prevent the command from executing as intended. Please update the key to "run".

Proposed diff:

-      rn: echo "Hello ${{ inputs.name }}"
+      run: echo "Hello ${{ inputs.name }}"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
rn: echo "Hello ${{ inputs.name }}"
run: echo "Hello ${{ inputs.name }}"
🧰 Tools
🪛 actionlint (1.7.4)

32-32: unexpected key "rn" for "step" section. expected one of "continue-on-error", "env", "id", "if", "name", "run", "shell", "timeout-minutes", "uses", "with", "working-directory"

(syntax-check)

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ test3
test
test4
test5
test7
asd
adasd