Skip to content
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

Updated README.md #2

Merged
merged 4 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,3 @@ Contributions are welcome! Feel free to open issues or submit pull requests.
## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---

### Notes:

- Replace `your-username/[email protected]` in the usage example with your actual GitHub username and repository name.
- Ensure your repository has a `LICENSE` file if you're planning to publish this action publicly.

This README should give users clear instructions on how to use and contribute to your GitHub Action.
14 changes: 10 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
name: "Github Release Generator"
description: "Automatically generate a release on GitHub"
name: 'Github Release Generator'
description: 'Generates a release based on commit messages and semantic versioning.'

branding:
icon: 'package'
color: 'blue'

inputs:
github_token:
description: "GitHub token for authentication"
description: 'GitHub token used for authentication'
required: true
add_description:
description: "Additional description for the release"
description: 'Additional custom description for the release'
required: false

runs:
using: "docker"
image: "Dockerfile"
Expand Down
4 changes: 2 additions & 2 deletions create_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import re

# Replace with your repo and owner
GITHUB_OWNER = "ADORSYS-GIS"
GITHUB_REPO = "wazuh"
GITHUB_OWNER = os.getenv("GITHUB_USERNAME")
GITHUB_REPO = os.getenv("REPO_NAME")
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")

# GitHub API URLs
Expand Down