Skip to content

Commit 6e4a042

Browse files
authored
Update README.md
First readme
1 parent 29ba0ab commit 6e4a042

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
1-
# publiccode-action
1+
# Publiccode Action
22
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.
3+
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+
6+
## Usage
7+
To use this action, simply include it as a step in your workflow file. No inputs are required.
8+
9+
````yaml
10+
steps:
11+
- name: Update publiccode.yaml
12+
uses: your-github-username/publiccode-update-action@v1
13+
````
14+
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.
15+
16+
## Inputs
17+
None
18+
19+
## Outputs
20+
None
21+
22+
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)