Skip upload for release step #171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-chart-releaser | |
on: | |
pull_request: | |
jobs: | |
test_chart_releaser_install_action: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: none | |
checks: none | |
contents: none | |
deployments: none | |
issues: none | |
packages: none | |
pull-requests: none | |
repository-projects: none | |
security-events: none | |
statuses: none | |
name: Install chart-releaser and test presence in path | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Install chart-releaser | |
uses: ./ | |
with: | |
install_only: true | |
env: | |
CR_TOKEN: "FAKE_SECRETS" | |
- name: Check install! | |
run: cr version | |
- name: Check root directory | |
run: | | |
if ! git diff --stat --exit-code; then | |
echo 'should be clean' | |
exit 1 | |
fi | |
test_chart_releaser_action: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: none | |
checks: none | |
contents: none | |
deployments: none | |
issues: none | |
packages: none | |
pull-requests: none | |
repository-projects: none | |
security-events: none | |
statuses: none | |
name: Install chart-releaser and run it | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Install chart-releaser | |
uses: ./ | |
env: | |
CR_TOKEN: "FAKE_SECRETS" | |
- name: Check root directory | |
run: | | |
if ! git diff --stat --exit-code; then | |
echo 'should be clean' | |
exit 1 | |
fi |