Skip to content

Commit

Permalink
Remove [bot] suffix from actor on index tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet committed Dec 12, 2023
1 parent 977209d commit 6decadf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
branch: ${{ steps.index.outputs.branch }}
shortcommit: ${{ steps.index.outputs.shortcommit }}
sha: ${{ steps.index.outputs.sha }}
actor: ${{ steps.index.outputs.actor }}
steps:
- uses: actions/checkout@v3
- name: Setup final status file
Expand Down Expand Up @@ -58,6 +59,8 @@ jobs:
echo "sha=${{ github.sha }}" >> $GITHUB_OUTPUT
echo "shortcommit=${GITHUB_SHA::10}" >> $GITHUB_OUTPUT
fi
# remove [bot] from actor name
echo "actor=${GITHUB_ACTOR/\[bot\]/}" >> $GITHUB_OUTPUT
test:
runs-on: ubuntu-latest
Expand All @@ -79,7 +82,7 @@ jobs:
- key: ref
value: ${{ github.ref }}
- key: actor
value: ${{ github.actor }}
value: ${{ needs.setup.outputs.actor }}
- key: run_number
value: ${{ github.run_number }}
- key: shortcommit
Expand Down

0 comments on commit 6decadf

Please sign in to comment.