|
@@ -32,7 +32,7 @@ jobs:
|
|
|
env:
|
|
env:
|
|
|
TEAMS: ${{ join(steps.teamAffiliation.outputs.teams, ',') }}
|
|
TEAMS: ${{ join(steps.teamAffiliation.outputs.teams, ',') }}
|
|
|
ACTOR: ${{ github.actor }}
|
|
ACTOR: ${{ github.actor }}
|
|
|
- IS_MAINTAINER: ${{ contains(join(steps.teamAffiliation.outputs.teams, ','), 'OpenCost Maintainers') || github.actor == 'dependabot[bot]' }}
|
|
|
|
|
|
|
+ IS_MAINTAINER: ${{ contains(join(steps.teamAffiliation.outputs.teams, ','), 'OpenCost Maintainers') || (github.actor == 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == 'opencost/opencost') }}
|
|
|
run: |
|
|
run: |
|
|
|
echo "Actor: $ACTOR"
|
|
echo "Actor: $ACTOR"
|
|
|
echo "teams: $TEAMS"
|
|
echo "teams: $TEAMS"
|
|
@@ -68,4 +68,4 @@ jobs:
|
|
|
actor: ${{ github.actor }}
|
|
actor: ${{ github.actor }}
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
image_tag: ${{ steps.tags.outputs.IMAGE_TAG }}
|
|
image_tag: ${{ steps.tags.outputs.IMAGE_TAG }}
|
|
|
- release_version: test-${{ steps.sha.outputs.OC_SHORTHASH }}
|
|
|
|
|
|
|
+ release_version: test-${{ steps.sha.outputs.OC_SHORTHASH }}
|