Skip to content

Commit 251e4ec

Browse files
committed
Merge remote-tracking branch 'origin/main' into main
2 parents 95997be + ce2a793 commit 251e4ec

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 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)
33

44
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.
55

@@ -22,7 +22,7 @@ jobs:
2222
uses: OpenCatalogi/publiccode-action@latest
2323
````
2424

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
2626

2727
## Inputs
2828

@@ -37,7 +37,7 @@ In the above example a publiccode file is updated every time code on the `main`
3737

3838

3939
## 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.
4141

4242
| Output Name | Description |
4343
|----------------|-------------------------------------------------|
@@ -58,13 +58,13 @@ steps:
5858
gitname: "Open Catalogi bot"
5959
gitmail: "bot@opencatalogi.nl"
6060
````
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.
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.
6262

6363
## 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
6666

6767
### 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.
6969

7070
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

Comments
 (0)