Doesn't work with manual trigger (workflow_dispatch)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
報告された workflow_dispatch 設定と、ログに示されているアクションのエントリポイント deploy.sh から始めます。手動実行を再現し、ファイルコピーのステップを通じて「Using .gitattributes」の経路を、特に git と tar のエラーに注目して追跡します。手動トリガーが完了し、プラグインファイルが WordPress.org リポジトリにコピーされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Howdy!
I just had my plugin approved and had set things up ahead of time to take advantage of your action. Now that the time is here it doesn't work. Nor do any of the forks. It all seems to be tied into the fact that my plugin is very simple: a single PHP file and readme.txt.
I originally used a .distignore file but have add a .gitattributes as well. Both fail I suppose, the debug information like the documentation around GitHub Actions is obtuse.
My plugin: https://github.com/clubside/vern-responsive-video
My action file:
name: Deploy to WordPress.org
on:
workflow_dispatch:
push:
tags:
- "*"
pull_request:
tags:
- "*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
Most recent failure:
2024-02-14T06:29:50.1913658Z Requested labels: ubuntu-latest
2024-02-14T06:29:50.1913926Z Job defined at: clubside/vern-responsive-video/.github/workflows/wordpress-plugin-svn-deploy.yml@refs/heads/main
2024-02-14T06:29:50.1914006Z Waiting for a runner to pick up this job...
2024-02-14T06:29:50.6421918Z Job is waiting for a hosted runner to come online.
2024-02-14T06:29:53.0767569Z Job is about to start running on the hosted runner: GitHub Actions 16 (hosted)
2024-02-14T06:29:54.9902481Z Current runner version: '2.313.0'
2024-02-14T06:29:54.9925188Z ##[group]Operating System
2024-02-14T06:29:54.9925849Z Ubuntu
2024-02-14T06:29:54.9926218Z 22.04.3
2024-02-14T06:29:54.9926605Z LTS
2024-02-14T06:29:54.9926962Z ##[endgroup]
2024-02-14T06:29:54.9927368Z ##[group]Runner Image
2024-02-14T06:29:54.9927878Z Image: ubuntu-22.04
2024-02-14T06:29:54.9928295Z Version: 20240212.1.0
2024-02-14T06:29:54.9929286Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240212.1/images/ubuntu/Ubuntu2204-Readme.md
2024-02-14T06:29:54.9930811Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240212.1
2024-02-14T06:29:54.9931743Z ##[endgroup]
2024-02-14T06:29:54.9932157Z ##[group]Runner Image Provisioner
2024-02-14T06:29:54.9932717Z 2.0.341.1
2024-02-14T06:29:54.9933080Z ##[endgroup]
2024-02-14T06:29:54.9934111Z ##[group]GITHUB_TOKEN Permissions
2024-02-14T06:29:54.9935688Z Contents: read
2024-02-14T06:29:54.9936127Z Metadata: read
2024-02-14T06:29:54.9936811Z Packages: read
2024-02-14T06:29:54.9937367Z ##[endgroup]
2024-02-14T06:29:54.9940496Z Secret source: Actions
2024-02-14T06:29:54.9941068Z Prepare workflow directory
2024-02-14T06:29:55.0556394Z Prepare all required actions
2024-02-14T06:29:55.0714089Z Getting action download info
2024-02-14T06:29:55.2502208Z Download action repository '10up/action-wordpress-plugin-deploy@stable' (SHA:abb939a0d0bfd01063e8d1933833209201557381)
2024-02-14T06:29:55.6174836Z Complete job name: deploy
2024-02-14T06:29:55.7060992Z ##[group]Run 10up/action-wordpress-plugin-deploy@stable
2024-02-14T06:29:55.7061788Z with:
2024-02-14T06:29:55.7062330Z generate-zip: false
2024-02-14T06:29:55.7062789Z dry-run: false
2024-02-14T06:29:55.7063167Z env:
2024-02-14T06:29:55.7063714Z SVN_PASSWORD: ***
2024-02-14T06:29:55.7064182Z SVN_USERNAME: ***
2024-02-14T06:29:55.7064722Z ##[endgroup]
2024-02-14T06:29:55.7332676Z ##[group]Run /home/runner/work/_actions/10up/action-wordpress-plugin-deploy/stable/deploy.sh
2024-02-14T06:29:55.7334151Z [36;1m/home/runner/work/_actions/10up/action-wordpress-plugin-deploy/stable/deploy.sh[0m
2024-02-14T06:29:55.7378209Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2024-02-14T06:29:55.7379058Z env:
2024-02-14T06:29:55.7379534Z SVN_PASSWORD: ***
2024-02-14T06:29:55.7380029Z SVN_USERNAME: ***
2024-02-14T06:29:55.7380587Z INPUT_GENERATE_ZIP: false
2024-02-14T06:29:55.7381074Z INPUT_DRY_RUN: false
2024-02-14T06:29:55.7381495Z ##[endgroup]
2024-02-14T06:29:55.7743981Z allexport off
2024-02-14T06:29:55.7744614Z braceexpand on
2024-02-14T06:29:55.7745060Z emacs off
2024-02-14T06:29:55.7745537Z errexit on
2024-02-14T06:29:55.7745989Z errtrace off
2024-02-14T06:29:55.7746434Z functrace off
2024-02-14T06:29:55.7746842Z hashall on
2024-02-14T06:29:55.7747319Z histexpand off
2024-02-14T06:29:55.7747748Z history off
2024-02-14T06:29:55.7748117Z ignoreeof off
2024-02-14T06:29:55.7748804Z interactive-comments on
2024-02-14T06:29:55.7749300Z keyword off
2024-02-14T06:29:55.7749695Z monitor off
2024-02-14T06:29:55.7750185Z noclobber off
2024-02-14T06:29:55.7750636Z noexec off
2024-02-14T06:29:55.7751040Z noglob off
2024-02-14T06:29:55.7751655Z nolog off
2024-02-14T06:29:55.7752058Z notify off
2024-02-14T06:29:55.7752525Z nounset off
2024-02-14T06:29:55.7752906Z onecmd off
2024-02-14T06:29:55.7753309Z physical off
2024-02-14T06:29:55.7753795Z pipefail off
2024-02-14T06:29:55.7754201Z posix off
2024-02-14T06:29:55.7754598Z privileged off
2024-02-14T06:29:55.7755059Z verbose off
2024-02-14T06:29:55.7755488Z vi off
2024-02-14T06:29:55.7755881Z xtrace off
2024-02-14T06:29:55.7757697Z ℹ︎ SLUG is vern-responsive-video
2024-02-14T06:29:55.7758364Z ℹ︎ VERSION is refs/heads/main
2024-02-14T06:29:55.7759065Z ℹ︎ ASSETS_DIR is .wordpress-org
2024-02-14T06:29:55.7759806Z ➤ Checking out .org repository...
2024-02-14T06:29:56.1547190Z A /home/runner/svn-vern-responsive-video/assets
2024-02-14T06:29:56.1550920Z A /home/runner/svn-vern-responsive-video/tags
2024-02-14T06:29:56.1554731Z A /home/runner/svn-vern-responsive-video/trunk
2024-02-14T06:29:56.1564077Z Checked out revision 3035405.
2024-02-14T06:29:56.1948602Z Updating 'assets':
2024-02-14T06:29:56.3226907Z At revision 3035405.
2024-02-14T06:29:56.3440522Z Updating 'trunk':
2024-02-14T06:29:56.4618921Z At revision 3035405.
2024-02-14T06:29:56.4827580Z Updating 'tags':
2024-02-14T06:29:56.6093393Z At revision 3035405.
2024-02-14T06:29:56.6220017Z ➤ Copying files...
2024-02-14T06:29:56.6220924Z ℹ︎ Using .gitattributes
2024-02-14T06:29:56.6363501Z fatal: not a git repository (or any of the parent directories): .git
2024-02-14T06:29:56.6378774Z fatal: not a git repository (or any of the parent directories): .git
2024-02-14T06:29:56.6404950Z fatal: not a git repository (or any of the parent directories): .git
2024-02-14T06:29:56.6424025Z fatal: not a git repository (or any of the parent directories): .git
2024-02-14T06:29:56.6425157Z tar: This does not look like a tar archive
2024-02-14T06:29:56.6426167Z tar: Exiting with failure status due to previous errors
2024-02-14T06:29:56.6448358Z ##[error]Process completed with exit code 2.
2024-02-14T06:29:56.6788304Z Cleaning up orphan processes
I have no idea how the "not a git repository" message is even possible given...it is?
Any help greatly appreciated, I hate to have to learn and use SVN for this tiny project.
Thanks,
Chris
- 主要言語
- Shell
- スター
- 665
- フォーク
- 115
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
10up/action-wordpress-plugin-deploy のほかの issue
-
help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
10up/action-wordpress-plugin-deploy#172 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
WP CLI `.distignore` syntax is changing対応中かも @kmgalanakis が 302 日前に担当しました。 オープンhelp wanted needs:engineering type:enhancement
10up/action-wordpress-plugin-deploy#139 · コメント 2 件 · リアクション 2 件 · 担当者 2 名 ·
10up/action-wordpress-plugin-deploy の issue をすべて見る
似ている issue
-
application-issue
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
Installomator/Installomator#3657 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
Own-agent checks: reject the Actions bot id in admit.mjs and test the source label in pr-verifyオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
melodic-software/claude-code-plugins#17374 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
out-of-date
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
CachyOS/CachyOS-PKGBUILDS#2154 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
eip-work/kuboard-press#723 ·