Skip to content

refact: Refactor IsAllowed func in Bitbucket Data Center#2033

Merged
pipelines-as-code[bot] merged 1 commit intotektoncd:mainfrom
zakisk:SRVKP-7289-refactor-is-allowed-func
Apr 8, 2025
Merged

refact: Refactor IsAllowed func in Bitbucket Data Center#2033
pipelines-as-code[bot] merged 1 commit intotektoncd:mainfrom
zakisk:SRVKP-7289-refactor-is-allowed-func

Conversation

@zakisk
Copy link
Copy Markdown
Member

@zakisk zakisk commented Apr 3, 2025

IsAllowed func of Bitbucket Data Center provider now using jenkins-x/go-scm for API calling.

Changes

Submitter Checklist

  • 📝 Ensure your commit message is clear and informative. Refer to the How to write a git commit message guide. Include the commit message in the PR body rather than linking to an external site (e.g., Jira ticket).

  • ♽ Run make test lint before submitting a PR to avoid unnecessary CI processing. Consider installing pre-commit and running pre-commit install in the repository root for an efficient workflow.

  • ✨ We use linters to maintain clean and consistent code. Run make lint before submitting a PR. Some linters offer a --fix mode, executable with make fix-linters (ensure markdownlint and golangci-lint are installed).

  • 📖 Document any user-facing features or changes in behavior.

  • 🧪 While 100% coverage isn't required, we encourage unit tests for code changes where possible.

  • 🎁 If feasible, add an end-to-end test. See README for details.

  • 🔎 Address any CI test flakiness before merging, or provide a valid reason to bypass it (e.g., token rate limitations).

  • If adding a provider feature, fill in the following details:

Git Provider Supported
GitHub App ❌️
GitHub Webhook ❌️
Gitea ❌️
GitLab ❌️
Bitbucket Cloud ❌️
Bitbucket Data Center ✅️

(update the documentation accordingly)

IsAllowed func of Bitbucket Data Center provider now using
jenkins-x/go-scm for API calling.

Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
@chmouel
Copy link
Copy Markdown
Member

chmouel commented Apr 8, 2025

/merge

@pipelines-as-code pipelines-as-code bot merged commit 3dab183 into tektoncd:main Apr 8, 2025
7 checks passed
@pipelines-as-code
Copy link
Copy Markdown

✅ PR Successfully Merged

  • Merge method: rebase
  • Merged by: @chmouel
  • Total approvals: 1/1

Approvals Summary:

Reviewer Permission Status
@chmouel admin

Thank you @zakisk for your valuable contribution! 🎉

Automated by the PAC Boussole 🧭

@zakisk zakisk deleted the SRVKP-7289-refactor-is-allowed-func branch April 8, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants