You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I decided the "-name" part of the input name was superfluous.
This is part of a single PR, so no further backwards compatibility measures are necessary. I just don't feel like making the effort to fixup the previous name change commit and deal with all the conflicts while rebasing.
Copy file name to clipboardExpand all lines: README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This action comments on the pull request with a report on the resulting change i
8
8
9
9
## Inputs
10
10
11
-
### `sketches-reports-source-name`
11
+
### `sketches-reports-source`
12
12
13
13
**Default**: "size-deltas-reports"
14
14
@@ -20,7 +20,7 @@ Recommended for public repositories.
20
20
21
21
The use of a scheduled workflow is necessary in order for the action to have the [write permissions required to comment on pull requests submitted from forks](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token).
22
22
23
-
In this usage, the `sketches-reports-source-name` defines the name of the workflow artifact that contains the memory usage data, as specified to the [`actions/upload-artifact`](https://github.com/actions/upload-artifact) action via its `name` input.
23
+
In this usage, the `sketches-reports-source` defines the name of the workflow artifact that contains the memory usage data, as specified to the [`actions/upload-artifact`](https://github.com/actions/upload-artifact) action via its `name` input.
24
24
25
25
#### Run from the same workflow as the [`arduino/compile-sketches`](https://github.com/arduino/compile-sketches) action
26
26
@@ -32,7 +32,7 @@ In order to get reports for pull requests from forks, the ["Send write tokens to
32
32
33
33
If the "Send write tokens to workflows from fork pull requests" setting is not enabled but the ["Run workflows from fork pull requests" setting](https://docs.github.com/en/github/administering-a-repository/disabling-or-limiting-github-actions-for-a-repository#enabling-workflows-for-private-repository-forks) is enabled, the workflow should be configured to only run the action when the pull request is not from a fork (`if: github.event.pull_request.head.repo.full_name == github.repository`). This will prevent workflow job failures that would otherwise be caused when the report creation failed due to not having the necessary write permissions.
34
34
35
-
In this usage, the `sketches-reports-source-name` defines the path to the folder containing the memory usage data, as specified to the [`actions/download-artifact`](https://github.com/actions/download-artifact) action via its `path` input.
35
+
In this usage, the `sketches-reports-source` defines the path to the folder containing the memory usage data, as specified to the [`actions/download-artifact`](https://github.com/actions/download-artifact) action via its `path` input.
36
36
37
37
### `github-token`
38
38
@@ -110,7 +110,7 @@ jobs:
110
110
if: github.event_name == 'pull_request' # Only run the job when the workflow is triggered by a pull request
111
111
runs-on: ubuntu-latest
112
112
steps:
113
-
# This step is needed to get the size data produced by the compile job
113
+
# This step is needed to get the size data produced by the compile jobs
Copy file name to clipboardExpand all lines: action.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
name: 'Report Arduino Sketch Size Deltas'
2
2
description: 'Comments on the pull request with a report on the resulting change in memory usage of Arduino sketches'
3
3
inputs:
4
-
sketches-reports-source-name:
4
+
sketches-reports-source:
5
5
description: 'When run from scheduled workflow, name of the workflow artifact that contains sketches reports. When run from a pull request triggered workflow, path to the folder containing sketches reports.'
0 commit comments