Skip to content

Commit 44575ce

Browse files
authored
Merge pull request #51 from newrelic/fixup-custom-prop-names
change prop names to start with fossa
2 parents 2a35c74 + e1f3ee7 commit 44575ce

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/fossa-caos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ jobs:
4747
echo "::warning::Fossa did not find any analysis targets."
4848
echo "HAS_FOSSA_TARGETS=False" >> "$GITHUB_OUTPUT"
4949
fi
50-
- name: Set hasFossaTargets custom property
50+
- name: Set fossaHasTargets custom property
5151
run: |
5252
curl -L \
5353
-X PATCH \
5454
-H "Accept: application/vnd.github+json" \
5555
-H "Authorization: Bearer $CUSTOM_PROPS_PAT" \
5656
-H "X-GitHub-Api-Version: 2022-11-28" \
5757
https://api.github.com/orgs/$ORG/properties/values \
58-
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"hasFossaTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
58+
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"fossaHasTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
5959
- id: fossa-analyze
6060
name: Run fossa analyze
6161
if: ${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS == 'True'}}

.github/workflows/fossa-default.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ jobs:
4343
echo "::warning::Fossa did not find any analysis targets."
4444
echo "HAS_FOSSA_TARGETS=False" >> "$GITHUB_OUTPUT"
4545
fi
46-
- name: Set hasFossaTargets custom property
46+
- name: Set fossaHasTargets custom property
4747
run: |
4848
curl -L \
4949
-X PATCH \
5050
-H "Accept: application/vnd.github+json" \
5151
-H "Authorization: Bearer $CUSTOM_PROPS_PAT" \
5252
-H "X-GitHub-Api-Version: 2022-11-28" \
5353
https://api.github.com/orgs/$ORG/properties/values \
54-
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"hasFossaTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
54+
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"fossaHasTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
5555
- id: fossa-analyze
5656
name: Run fossa analyze
5757
if: ${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS == 'True'}}

.github/workflows/fossa-elixir.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ jobs:
4747
echo "::warning::Fossa did not find any analysis targets."
4848
echo "HAS_FOSSA_TARGETS=False" >> "$GITHUB_OUTPUT"
4949
fi
50-
- name: Set hasFossaTargets custom property
50+
- name: Set fossaHasTargets custom property
5151
run: |
5252
curl -L \
5353
-X PATCH \
5454
-H "Accept: application/vnd.github+json" \
5555
-H "Authorization: Bearer $CUSTOM_PROPS_PAT" \
5656
-H "X-GitHub-Api-Version: 2022-11-28" \
5757
https://api.github.com/orgs/$ORG/properties/values \
58-
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"hasFossaTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
58+
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"fossaHasTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
5959
- id: fossa-analyze
6060
name: Run fossa analyze
6161
if: ${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS == 'True'}}

.github/workflows/fossa-gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ jobs:
6666
echo "::warning::Fossa did not find any analysis targets."
6767
echo "HAS_FOSSA_TARGETS=False" >> "$GITHUB_OUTPUT"
6868
fi
69-
- name: Set hasFossaTargets custom property
69+
- name: Set fossaHasTargets custom property
7070
run: |
7171
curl -L \
7272
-X PATCH \
7373
-H "Accept: application/vnd.github+json" \
7474
-H "Authorization: Bearer $CUSTOM_PROPS_PAT" \
7575
-H "X-GitHub-Api-Version: 2022-11-28" \
7676
https://api.github.com/orgs/$ORG/properties/values \
77-
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"hasFossaTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
77+
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"fossaHasTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
7878
- id: fossa-analyze
7979
name: Run fossa analyze
8080
if: ${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS == 'True'}}

.github/workflows/fossa-ruby-bundler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ jobs:
4646
echo "::warning::Fossa did not find any analysis targets."
4747
echo "HAS_FOSSA_TARGETS=False" >> "$GITHUB_OUTPUT"
4848
fi
49-
- name: Set hasFossaTargets custom property
49+
- name: Set fossaHasTargets custom property
5050
run: |
5151
curl -L \
5252
-X PATCH \
5353
-H "Accept: application/vnd.github+json" \
5454
-H "Authorization: Bearer $CUSTOM_PROPS_PAT" \
5555
-H "X-GitHub-Api-Version: 2022-11-28" \
5656
https://api.github.com/orgs/$ORG/properties/values \
57-
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"hasFossaTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
57+
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"fossaHasTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
5858
- id: fossa-analyze
5959
name: Run fossa analyze
6060
if: ${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS == 'True'}}

.github/workflows/fossa-scala.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ jobs:
4848
echo "::warning::Fossa did not find any analysis targets."
4949
echo "HAS_FOSSA_TARGETS=False" >> "$GITHUB_OUTPUT"
5050
fi
51-
- name: Set hasFossaTargets custom property
51+
- name: Set fossaHasTargets custom property
5252
run: |
5353
curl -L \
5454
-X PATCH \
5555
-H "Accept: application/vnd.github+json" \
5656
-H "Authorization: Bearer $CUSTOM_PROPS_PAT" \
5757
-H "X-GitHub-Api-Version: 2022-11-28" \
5858
https://api.github.com/orgs/$ORG/properties/values \
59-
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"hasFossaTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
59+
-d '{"repository_names":["'"${REPO##*/}"'"],"properties":[{"property_name":"fossaHasTargets","value":"'"${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS }}"'"}]}'
6060
- id: fossa-analyze
6161
name: Run fossa analyze
6262
if: ${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS == 'True'}}

0 commit comments

Comments
 (0)