Difference between revisions of "Pull Request (PR) or Merge Request (MR)"
Jump to navigation
Jump to search
(7 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
- name: Set PR tag | - name: Set PR tag | ||
if: ${{ github.event_name == 'pull_request' }} | if: ${{ github.event_name == 'pull_request' }} | ||
− | run: echo "TAG=pull-request-$Template:Github.event.number" >> $[[GITHUB_ENV]] | + | run: echo "TAG=pull-request-$Template:[[Github.event.number]]" >> $[[GITHUB_ENV]] |
Line 10: | Line 10: | ||
* <code>[[hub pull-request]]</code> | * <code>[[hub pull-request]]</code> | ||
− | * [[git push -o merge_request.create]] | + | * <code>[[git push -o merge_request.create]]</code> |
* [[GitHub]]: <code>[[gh pr create]]</code> | * [[GitHub]]: <code>[[gh pr create]]</code> | ||
Line 20: | Line 20: | ||
* [[Heroku Review Apps]] | * [[Heroku Review Apps]] | ||
* [[Azure Pipelines: pr:]] | * [[Azure Pipelines: pr:]] | ||
− | * [[GitHub Pull Requests extension]] | + | * [[Visual Studio GitHub Pull Requests extension]] |
+ | * [[uses: peter-evans/create-pull-request]] | ||
+ | * <code>[[pre-commit]]</code> | ||
+ | * [[Permanent resident]] | ||
+ | * [[if: failure]]() && github.event_name != 'pull_request' | ||
== Activities == | == Activities == | ||
* Read https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-requests?view=azure-devops&tabs=browser | * Read https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-requests?view=azure-devops&tabs=browser | ||
+ | * Read [[Creating the pull request]] | ||
== See also == | == See also == |
Latest revision as of 10:31, 24 October 2024
- name: Set PR tag if: $Template:Github.event name == 'pull request' run: echo "TAG=pull-request-$Template:Github.event.number" >> $GITHUB_ENV
Related[edit]
az repos pr
- Heroku Review Apps
- Azure Pipelines: pr:
- Visual Studio GitHub Pull Requests extension
- uses: peter-evans/create-pull-request
pre-commit
- Permanent resident
- if: failure() && github.event_name != 'pull_request'
Activities[edit]
- Read https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-requests?view=azure-devops&tabs=browser
- Read Creating the pull request
See also[edit]
gh [ auth | repo | secret | issue | workflow | webhook | gh environment | actions | run ] gh auth login, gh pr create, gh --help
git pull
[-v | -a
]git request-pull
,git pull origin master
Pull Request (PR),--no-rebase, --rebase
- Pull Request, GitHub Pull Requests extension,
gh pr, uses: peter-evans/create-pull-request
Advertising: