Skip to content

Commit

Permalink
Update the way we fetch the Neo version (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
gem-neo4j authored Jan 8, 2025
1 parent 444989b commit 8b4467f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
run: |
neo4j_version_base=$(grep -e ".*neo4jVersionOverride.* : .*" build.gradle | cut -d ':' -f 2 | tr -d \'\" | tr -d ' ')
echo "neo4j_version_base=$neo4j_version_base"
NEO4J_VERSION_CI=`aws codeartifact list-package-versions --domain build-service-live --domain-owner ${{ secrets.AWS_ACCOUNT_ID }} --repository ci-live --format maven --namespace org.neo4j --package neo4j --sort-by PUBLISHED_TIME --max-items 1 --query "versions[?starts_with(version,'$neo4j_version_base')] | [0].version" --output text | head -n 1`
NEO4J_VERSION_CI=`aws --no-cli-pager codeartifact list-package-versions --domain build-service-live --domain-owner ${{ secrets.AWS_ACCOUNT_ID }} --repository ci-live --format maven --namespace org.neo4j --package neo4j --sort-by PUBLISHED_TIME --status Published --query "versions[?starts_with(version, '$neo4j_version_base')].version | [0]" --output json | sed 's/"//g'`
echo "NEO4J_VERSION_CI=$NEO4J_VERSION_CI" >> "$GITHUB_ENV"
echo "Found NEO4j_VERSION_CI=$NEO4J_VERSION_CI"
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/traceability-comments.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
name: traceability
name: traceability-comments

on:
pull_request:
branches:
- dev
types:
- labeled
- unlabeled
- opened
- edited
- reopened
- synchronize

jobs:
traceability:
traceability-comments:
runs-on: ubuntu-latest
steps:
- uses: neo4j/github-action-traceability@v2
with:
global_verification_strategy: comments
trello_api_key: ${{ secrets.TRELLO_API_KEY }}
trello_api_token: ${{ secrets.TRELLO_API_TOKEN }}
github_api_token: ${{ secrets.GITHUB_TOKEN }}
github_api_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8b4467f

Please sign in to comment.