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
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Publiccode Action
2
-
This GitHub Action automatically generates and updates a publiccode.yaml file in the root of your repository, based on repository metadata. The file is updated each time a push is made to the main branch. It is basically a more advanced varsion of [the publiccode softwareversion check](https://github.com/italia/publiccode-softwareversion-check-action/tree/master)
2
+
This GitHub Action automatically generates and updates a `publiccode.yaml` file in the root of your repository, based on repository metadata. The file is updated each time a push is made to the main branch. It is basically a more advanced varsion of [the publiccode softwareversion check](https://github.com/italia/publiccode-softwareversion-check-action/tree/master)
3
3
4
4
The Action works by running a Python script that reads repository metadata such as the repository name and description, and uses this information to create or update the publiccode.yaml file.
5
5
@@ -22,7 +22,7 @@ jobs:
22
22
uses: OpenCatalogi/publiccode-action@latest
23
23
````
24
24
25
-
In the above example a publiccode file is updated every time code on the `main` branche is touched
25
+
In the above example a `publiccode` file is updated every time code on the `main` branche is touched
26
26
27
27
## Inputs
28
28
@@ -37,7 +37,7 @@ In the above example a publiccode file is updated every time code on the `main`
37
37
38
38
39
39
## Outputs
40
-
The following outputs are provided by the action and can be used by other aciotns
40
+
The following outputs are provided by the action and can be used by other actions.
Note: Replace your-github-username with your actual GitHub username, and publiccode-update-action with the name of the repository where this action is hosted.
61
+
Note: Replace `your-github-username` with your actual GitHub username, and `publiccode-update-action` with the name of the repository where this action is hosted.
62
62
63
63
## Architecture
64
-
### Why python?
65
-
Python is nativly supported by github actions underlaying containers and therefore very quick
64
+
### Why Python?
65
+
Python is natively supported by GitHub actions' underlaying containers and therefore very quick
66
66
67
67
### Asumptions
68
-
We follow the "get data from the source" principle, in practice for this action that means that we se the repository as the source. So any settings in the repository (e.g. name and description) will overwrite the values already pressent in your publiccode.
68
+
We follow the "get data from the source" principle, in practice for this action that means that we set the repository as the source. So any settings in the repository (e.g. name and description) will overwrite the values already pressent in your publiccode.
69
69
70
70
Please note that this action does not handle errors or exceptions while reading metadata or writing to publiccode.yaml. You should ensure that your repository is properly set up to avoid any issues. For example, make sure that your repository name and description are not empty.
0 commit comments