Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug in workflow file #21

Merged
merged 2 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .github/workflows/develop-pr-gae.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,6 @@ jobs:
id: version_name
run: echo "version_name=$(echo \"${{ github.head_ref }}\" | tr -cd '[:alnum:]' | tr '[:upper:]' '[:lower:]' | tr -d 'preview')" >> $GITHUB_ENV

# Create or update a comment with the secrets reminder
- name: Find Comment
uses: peter-evans/find-comment@v1
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: IMPORTANT! If this PR requires updated secrets

- name: Create or update a comment with reminder for secrets update
uses: peter-evans/create-or-update-comment@v1
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
:orangutan: IMPORTANT! If this PR requires updated secrets, please ensure they are updated in the `dev` environment in GCP! :orangutan:
reactions: '+1'
edit-mode: replace

- name: Deploy to App Engine
env:
BRANCH_NAME: ${{ env.version_name }}
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/develop-push-gae.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,6 @@ jobs:
- name: Format version name
id: version_name
run: echo "version_name=$(echo \"${{ github.head_ref }}\" | sed 's/[_.,\/]/-/g' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV

- name: Find Comment
uses: peter-evans/find-comment@v1
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: IMPORTANT! If this PR requires updated secrets

- name: Create or update a comment with reminder for secrets update
uses: peter-evans/create-or-update-comment@v1
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
:orangutan: IMPORTANT! If this PR requires updated secrets, please ensure they are updated in the `dev` environment in GCP! :orangutan:
reactions: '+1'
edit-mode: replace

- name: Deploy to App Engine
env:
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/main-pr-gae.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,6 @@ jobs:
id: version_name
run: echo "version_name=$(echo \"${{ github.head_ref }}\" | tr -cd '[:alnum:]' | tr '[:upper:]' '[:lower:]' | tr -d 'preview')" >> $GITHUB_ENV

# Create or update a comment with the secrets reminder
- name: Find Comment
uses: peter-evans/find-comment@v1
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: IMPORTANT! If this PR requires updated secrets

- name: Create or update a comment with reminder for secrets update
uses: peter-evans/create-or-update-comment@v1
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
:orangutan: IMPORTANT! If this PR requires updated secrets, please ensure they are updated in the `int` environment in GCP! :orangutan:
reactions: '+1'
edit-mode: replace

- name: Deploy to App Engine
env:
BRANCH_NAME: ${{ env.version_name }}
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/main-push-gae.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,6 @@ jobs:
id: version_name
run: echo "version_name=$(echo \"${{ github.head_ref }}\" | sed 's/[_.,\/]/-/g' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV

- name: Find Comment
uses: peter-evans/find-comment@v1
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: IMPORTANT! If this PR requires updated secrets

- name: Create or update a comment with reminder for secrets update
uses: peter-evans/create-or-update-comment@v1
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
:orangutan: IMPORTANT! If this PR requires updated secrets, please ensure they are updated in the `int` environment in GCP! :orangutan:
reactions: '+1'
edit-mode: replace

- name: Deploy to App Engine
env:
BRANCH_NAME: ${{ env.version_name }}
Expand Down
Loading