@@ -8,19 +8,23 @@ description: >
88author : Will Riley <wanderingwill@gmail.com>
99
1010inputs :
11+ fail_for_missing_file :
12+ description : ' Fail for any checked file that is missing'
13+ required : false
14+ default : ' false'
15+ check_github_event :
16+ description : ' check-github-event'
17+ required : false
18+ default : ' false'
1119 github_event_name :
12- description : ' GitHub event name (push or release )'
13- required : true
20+ description : ' GitHub event name (push, release, or pull_request event )'
21+ required : false
1422 github_event_ref :
1523 description : ' GitHub ref (for push event)'
1624 required : false
1725 github_event_release_tag :
1826 description : ' GitHub release tag name (for release event)'
1927 required : false
20- fail_for_missing_file :
21- description : ' Fail for any checked file that is missing'
22- required : false
23- default : ' false'
2428 check_citation_cff :
2529 description : ' Check `CITATION.cff`? (`true/false`)'
2630 required : false
8084
8185 - name : Run same-version
8286 id : check_same_version
83- run : same-version --check-citation-cff "${{ inputs.check_citation_cff }}" --citation-cff-path "${{ inputs.citation_cff_path }}" --check-pyproject-toml "${{ inputs.check_pyproject_toml }}" --pyproject-toml-path "${{ inputs.pyproject_toml_path }}" --check-codemeta-json "${{ inputs.check_codemeta_json }}" --codemeta-json-path "${{ inputs.codemeta_json_path }}" --check-zenodo-json "${{ inputs.check_zenodo_json }}" --zenodo-json-path "${{ inputs.zenodo_json_path }}" --check-package-json "${{ inputs.check_package_json }}" --package-json-path "${{ inputs.package_json_path }}" --check-setup-py "${{ inputs.check_setup_py }}" --setup-py-path "${{ inputs.setup_py_path }}" --check-github-event "${{ inputs.check_github_event }}" --github-event-name "${{ inputs.event_name }}" --github-event-ref "${{ inputs.ref }}" --github-event-release-tag "${{ inputs.release_tag }}" --fail-for-missing-file "${{ inputs.fail_for_missing_file }}"
87+ run : same-version \
88+ --check-citation-cff "${{ inputs.check_citation_cff }}" \
89+ --citation-cff-path "${{ inputs.citation_cff_path }}" \
90+ --check-pyproject-toml "${{ inputs.check_pyproject_toml }}" \
91+ --pyproject-toml-path "${{ inputs.pyproject_toml_path }}" \
92+ --check-codemeta-json "${{ inputs.check_codemeta_json }}" \
93+ --codemeta-json-path "${{ inputs.codemeta_json_path }}" \
94+ --check-zenodo-json "${{ inputs.check_zenodo_json }}" \
95+ --zenodo-json-path "${{ inputs.zenodo_json_path }}" \
96+ --check-package-json "${{ inputs.check_package_json }}" \
97+ --package-json-path "${{ inputs.package_json_path }}" \
98+ --check-setup-py "${{ inputs.check_setup_py }}" \
99+ --setup-py-path "${{ inputs.setup_py_path }}" \
100+ --check-github-event "${{ inputs.check_github_event }}" \
101+ --github-event-name "${{ inputs.github_event_name }}" \
102+ --github-event-ref "${{ inputs.github_event_ref }}" \
103+ --github-event-release-tag "${{ inputs.github_event_release_tag }}" \
104+ --fail-for-missing-file "${{ inputs.fail_for_missing_file }}"
84105 shell : bash
0 commit comments