Skip to content

Commit

Permalink
fix: Use include-workspace-root for /main Dependabot dir
Browse files Browse the repository at this point in the history
  • Loading branch information
hashtagchris committed Jul 17, 2024
1 parent 5dc5eee commit ef85b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/post-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
id: flags
run: |
dependabot_dir="${{ steps.metadata.outputs.directory }}"
if [[ "$dependabot_dir" == "/" ]]; then
if [[ "$dependabot_dir" == "/" || "$dependabot_dir" == "/main" ]]; then
echo "workspace=-iwr" >> $GITHUB_OUTPUT
else
# strip leading slash from directory so it works as a
Expand Down

0 comments on commit ef85b08

Please sign in to comment.