Random walk phase estimation example in Python #1579 #1187
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request_target: | |
types: | |
- closed | |
branches: | |
- 'main' | |
- 'releases/*' | |
- 'experimental/*' | |
- 'features/*' | |
name: PR merged | |
jobs: | |
pr_info: | |
name: Store PR info | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true | |
permissions: {} | |
steps: | |
- run: | | |
echo "pr-number: ${{ github.event.pull_request.number }}" >> metadata.txt | |
echo "pr-base: ${{ github.event.pull_request.base.ref }}" >> metadata.txt | |
echo "source-sha: ${{ github.sha }}" >> metadata.txt | |
- name: Upload metadata | |
uses: actions/upload-artifact@v4 | |
with: | |
name: metadata_pr | |
path: metadata.txt | |
retention-days: 1 | |
if-no-files-found: error |