Skip to content

Commit

Permalink
Resolve the dubious ownership issue
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Vancoillie <[email protected]>
  • Loading branch information
eleshar authored Dec 29, 2024
1 parent 74ece1b commit 3ad7e54
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/push-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
name: Deploy to WordPress.org
on:
# Trigger on push with tags
push:
tags:
- 'v*'
- '!v*-alpha*'
- '!v*-beta*'
- '!v*-rc*'
- '!*-alpha*'
- '!*-beta*'
- '!*-rc*'
- "*"

# Trigger manually from GitHub Actions UI
workflow_dispatch:

jobs:
tag:
name: New tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Checkout code
uses: actions/checkout@master

# Step to fix the "dubious ownership" issue
- name: Set safe directory for Git
run: git config --global --add safe.directory /github/workspace

- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@master
env:
Expand Down

0 comments on commit 3ad7e54

Please sign in to comment.