Skip to content

Commit

Permalink
Workflow update/fix createchangelog not running (#23)
Browse files Browse the repository at this point in the history
* Make workflows re-usable

* Rename File Extensions for some workflow files

* Change job ordering

* Try something else to force specific job ordering

* Another Try something else to force specific job ordering

* Add comments & rename some jobs

* Make 'github-pages' workflow file get latest commits from action's current branch

Current branch means the running git branch that the GitHub Action was
ran at.

* Add reference to 'Checkout Repo' step

* Fix Admonition in Changelog Workflow

* Remove un-used 'release.yaml' workflow

* Add 'release' event to 'github-pages' workflow

* Fix Admonition in Changelog Workflow

* Make 'actions/checkout' fetch latest of anything, git submodules, tags, and commits

* Fix yaml syntax error

* Handle special case in 'createchangelog.yaml' workflow

* Update workflows

* Fix issue with 'createchangelog' workflow always switching to Git Detached Head Mode

* Reorder 'env' field in 'createchangelog' workflow

* Fix 'close-discussion' workflow not working

* Add debug info to 'close-discussion' workflow

* Maybe this'll fix 'close-discussion.yml' Workflow
  • Loading branch information
og-mrk authored Jul 29, 2024
1 parent 8c1721b commit 79aecdc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/close-discussion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,8 @@ jobs:
discussion_ids_arr=()
cat pr_body.txt | grep -i -Po '^\s*(-|\d+\.)?\s*(Resolve(s|d)?)\s*#\d+\s*$|^\s*(-|\d+\.)?\s*(Fix(es|ed)?)\s*#\d+\s*$|^\s*(-|\d+\.)?\s*(Close(s|d)?)\s*#\d+\s*$' | awk -F '#' '{print $2}' > discussion_ids_list.txt
while read -r line; do
discussion_ids_arr+=("$line")
done < discussion_ids_list.txt
while read -r line; do discussion_ids_arr+=("$line"); done < discussion_ids_list.txt
number_of_ids=${#discussion_ids_arr[@]}
echo "Number of IDs: ${number_of_id}"
echo "IDs Array: ${discussion_ids_arr[@]}"
echo "IDs List:"
Expand Down

0 comments on commit 79aecdc

Please sign in to comment.