Skip to content

Commit

Permalink
Merge branch 'main' into retire-airflow-dev-eks
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianEllwood authored Jan 21, 2025
2 parents 2657235 + f2560dc commit 2dcc127
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/issue-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Run GitHub Issue Metrics action
id: run_github_issue_metrics
uses: github/issue-metrics@2a4bfcbe40396c10a03ab0b19605f179c1509755 # v3.16.0
uses: github/issue-metrics@7d6c495e29e8a48085496928b4f0d4ce09f24cdf # v3.17.0
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEARCH_QUERY: 'repo:ministryofjustice/analytical-platform is:issue created:${{ env.last_month }} -reason:"not planned"'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repository-staler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- name: Staler
id: staler
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
with:
# Issues
days-before-issue-stale: 60
Expand Down
5 changes: 4 additions & 1 deletion scripts/path-filter/configuration-generator.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env bash

MODE="${1}"
PATH_FILTER_CONFIGURATION_FILE=".github/path-filter/${MODE}.yml"

case ${MODE} in
terraform)
PATH_FILTER_CONFIGURATION_FILE=".github/path-filter/terraform.yml"
SEARCH_PATTERN=".terraform.lock.hcl"
SKIP_FILE=".terraform-path-filter-ignore"
;;
Expand All @@ -14,6 +14,9 @@ case ${MODE} in
;;
esac

mkdir --parents ".github/path-filter"
touch "${PATH_FILTER_CONFIGURATION_FILE}"

if [[ "${MODE}" == "pytest" ]]; then
folders=$(find . -type f -wholename "${SEARCH_PATTERN}" | sed 's|/tests/.*$||g' | sort -h | uniq | cut -c 3-)
else
Expand Down

0 comments on commit 2dcc127

Please sign in to comment.