.github/workflows/release.yaml in jekyll-linkpreview-0.6.0.rc1 vs .github/workflows/release.yaml in jekyll-linkpreview-0.6.0
- old
+ new
@@ -13,10 +13,13 @@
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
+ # See https://github.com/actions/runner-images/issues/6775.
+ - name: Suppress 'detected dubious ownership' error.
+ run: git config --global --add safe.directory /__w/jekyll-linkpreview/jekyll-linkpreview
- id: check-release
name: Decide whether to release
run: |
set +e
git diff --exit-code --quiet HEAD~1 -- lib/jekyll-linkpreview/version.rb
@@ -32,9 +35,12 @@
needs: check-release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
+ # See https://github.com/actions/runner-images/issues/6775.
+ - name: Suppress 'detected dubious ownership' error.
+ run: git config --global --add safe.directory /__w/jekyll-linkpreview/jekyll-linkpreview
- env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
name: Set credentials for RubyGems
run: |
mkdir ~/.gem