mirror of
https://github.com/vacp2p/foundry-template.git
synced 2026-01-09 23:28:01 -05:00
ci: remove "-f" flag
ci: improve writing in comments
This commit is contained in:
18
.github/workflows/create.yml
vendored
18
.github/workflows/create.yml
vendored
@@ -1,14 +1,14 @@
|
|||||||
name: "Create"
|
name: "Create"
|
||||||
|
|
||||||
# The workflow will run only when `use this template` is used
|
# The workflow will run only when the "Use this template" button is used
|
||||||
on:
|
on:
|
||||||
create:
|
create:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create:
|
create:
|
||||||
# We will only run this action when the repository isn't the template repository
|
# We only run this action when the repository isn't the template repository. References:
|
||||||
# Reference https://docs.github.com/en/actions/learn-github-actions/contexts
|
# - https://docs.github.com/en/actions/learn-github-actions/contexts
|
||||||
# Reference https://docs.github.com/en/actions/learn-github-actions/expressions
|
# - https://docs.github.com/en/actions/learn-github-actions/expressions
|
||||||
if: ${{ !github.event.repository.is_template }}
|
if: ${{ !github.event.repository.is_template }}
|
||||||
permissions: "write-all"
|
permissions: "write-all"
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
@@ -24,17 +24,17 @@ jobs:
|
|||||||
|
|
||||||
- name: "Add rename summary"
|
- name: "Add rename summary"
|
||||||
run: |
|
run: |
|
||||||
echo "## Commit results" >> $GITHUB_STEP_SUMMARY
|
echo "## Commit result" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
|
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
- name: "Remove `rename.sh` and `create.yml`"
|
- name: "Remove `rename.sh` and `create.yml`"
|
||||||
run: |
|
run: |
|
||||||
rm -rf "./.github/scripts/rename.sh"
|
rm -f "./.github/scripts/rename.sh"
|
||||||
rm -rf "./.github/workflows/create.yml"
|
rm -f "./.github/workflows/create.yml"
|
||||||
|
|
||||||
- name: "Add remove summary"
|
- name: "Add remove summary"
|
||||||
run: |
|
run: |
|
||||||
echo "## Remove results" >> $GITHUB_STEP_SUMMARY
|
echo "## Remove result" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
|
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
- name: "Update commit"
|
- name: "Update commit"
|
||||||
@@ -47,5 +47,5 @@ jobs:
|
|||||||
|
|
||||||
- name: "Add commit summary"
|
- name: "Add commit summary"
|
||||||
run: |
|
run: |
|
||||||
echo "## Commit results" >> $GITHUB_STEP_SUMMARY
|
echo "## Commit result" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
|
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|||||||
Reference in New Issue
Block a user