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

Remove unused anchors #8

Merged
Merged
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
23 changes: 0 additions & 23 deletions flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@
- &ifInternalPullRequest # check if the PR is from a fork by comparing the repository name
if: github.event.pull_request.head.repo.full_name == github.repository

- &ifExternalPullRequest # check if the PR is from a fork by comparing the repository name
if: github.event.pull_request.head.repo.full_name != github.repository

- &ifPrivateRepository
if: github.event.repository.private

- &ifPublicRepository
if: github.event.repository.private != true

- &getGitHubAppToken # https://github.com/marketplace/actions/github-app-token
name: Generate GitHub App installation token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
Expand Down Expand Up @@ -174,18 +168,6 @@
-f sha="${SHA}" \
--include

- &checkoutPullRequestMergeRef
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
# https://github.com/actions/checkout
name: Checkout pull request merge ref
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
submodules: "recursive"
ref: "refs/pull/${{ github.event.number }}/merge"
token: ${{ steps.gh_app_token.outputs.token || secrets.FLOWZONE_TOKEN }}

- &checkoutPullRequestHeadSha
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
Expand Down Expand Up @@ -677,11 +659,6 @@
continue-on-error: true
run: aws sts get-caller-identity

- &updateKubeconfig
name: Update kubeconfig
run: |
aws eks update-kubeconfig --name "$(echo "${KUBE_CTX}" | awk -F'/' '{print $2}')"

- &convenienceFunctions
name: Convenience functions
id: functions
Expand Down