Skip to content

Correct key name in "Close stale issues" workflow #681

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

Merged
merged 1 commit into from
Dec 1, 2021
Merged

Correct key name in "Close stale issues" workflow #681

merged 1 commit into from
Dec 1, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Dec 1, 2021

The previous incorrect key name permission caused the workflow run to error:

https://github.com/per1234/arduino-create-agent/actions/runs/1525440740

Invalid workflow file : .github/workflows/close-stale-issues.yml#L7
The workflow is not valid. .github/workflows/close-stale-issues.yml (Line: 7, Col: 1): Unexpected value 'permission'

The correct key name is permissions:

https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#permissions

The previous incorrect key name `permission` caused the workflow run to error:

```
Invalid workflow file : .github/workflows/close-stale-issues.yml#L7
The workflow is not valid. .github/workflows/close-stale-issues.yml (Line: 7, Col: 1): Unexpected value 'permission'
```

The correct key name is `permissions`:

https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#permissions
@per1234 per1234 added topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project labels Dec 1, 2021
@per1234 per1234 requested a review from umbynos December 1, 2021 11:13
@per1234 per1234 self-assigned this Dec 1, 2021
Copy link
Contributor

@umbynos umbynos left a comment

Choose a reason for hiding this comment

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

Oh god.. Thanks Per 🧙

@per1234 per1234 merged commit 5b6c931 into arduino:main Dec 1, 2021
@per1234 per1234 deleted the correct-stale-wf-key branch December 1, 2021 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants