Commit graph

7 commits

Author SHA1 Message Date
Sipke Schoorstra 4b5e10629b Update string formatting in bounty.yml
Changed the string interpolation syntax in bounty.yml. This subtle change from double quotes ("") to backticks (``) ensures proper parsing of the dynamic content, specifically under the 'script' section for 'issueComment'.
2024-04-10 19:52:43 +02:00
Sipke Schoorstra 593edd54a9 Update read file action in bounty workflow
The read file action in the bounty workflow has been updated, replacing the previous manual method with a more efficient GitHub action. This action greatly simplifies the code, improving readability and ease of maintenance. The file path has also been corrected.
2024-04-10 19:47:18 +02:00
Sipke Schoorstra 1db8cc91f6 Update bounty workflow to properly read footer content
The bounty.yml workflow has been updated to correctly read and process the bounty footer content. This change replaces the simple cat command with a jq command that correctly reads and outputs the content of the markdown file, ensuring it is properly formatted and ready for appending to the issue.
2024-04-10 19:43:14 +02:00
Sipke Schoorstra 5013ecba3d Add 'await' to 'createComment' function in bounty workflow
The modification adds the 'await' keyword to the 'createComment' function in the bounty workflow file. This ensures that the function execution is completed before moving on to the subsequent operations, preventing any possible asynchronous issues.
2024-04-10 19:36:46 +02:00
Sipke Schoorstra c117dd7234 Update parameter in bounty workflow
The parameter in the bounty workflow has been changed from 'name' to 'repo'. This change will make the workflow refer to the correct repository parameter when creating comments on issues.
2024-04-10 19:30:58 +02:00
Sipke Schoorstra a44b8901ea Update GitHub Actions script in bounty workflow
The commit upgrades the 'github-script' action to version 7 and modifies the method for creating issue comments. This change accommodates updates in the 'github-script' action and aligns with newer API usage for creating issue comments.
2024-04-10 19:24:14 +02:00
Sipke Schoorstra b421b00e16 Add Bounty Label Workflow and Documentation
A new GitHub Actions workflow has been introduced for appending a footer to issues that have been tagged with a 'bounty' label. The text for this footer is taken from a newly added "bounty-footer.md" file in the "docs" folder. The workflow is triggered whenever an issue is labeled, and it checks out the repository, reads the footer content, and appends it to the labeled issue. The "bounty-footer.md" and the workflow itself are also added to the solution file.
2024-04-10 19:18:59 +02:00