您好,只是想知道为什么changelog_from_git_commits在运行到本地计算机时有一个值,但是当我试图运行到Github的通道时,Workflow.it总是空的?
快速文件
desc "Read changelog"
lane :read_commit_history do
recent = changelog_from_git_commits(
between: ["9025d4f", "HEAD"] # commit hashes
)
endGithub工作流
name: Read Changelog Workflow
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Install Dependencies
run: gem install bundler && bundle install && bundle update fastlane
- name: Run Fastlane Compile Lane
run: bundle exec fastlane read_commit_history感谢你的帮助,谢谢,
发布于 2021-08-26 06:45:29
要获取所有标记和分支的所有历史记录,只需添加fetch-depth: 0。
- uses: actions/checkout@v2
with:
fetch-depth: 0https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
https://stackoverflow.com/questions/68932854
复制相似问题