We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e4de10 commit 00c4a4dCopy full SHA for 00c4a4d
.github/workflows/dns-check.yml
@@ -11,8 +11,10 @@ jobs:
11
id: branch_name
12
run: echo "branch_name=dns-update-$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
13
- uses: actions/checkout@v4
14
- with:
15
- ref: ${{ env.branch_name }}
+ - name: Create and switch to the new branch
+ run: |
16
+ git checkout -b ${{ env.branch_name }}
17
+ echo "Created and switched to branch ${{ env.branch_name }}"
18
- run: |
19
git config --global user.name 'github-actions[bot]'
20
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
@@ -50,6 +52,8 @@ jobs:
50
52
sudo apt-get install -y gh
51
53
- name: Create Pull Request
54
if: env.changes_detected == 'true'
55
+ env:
56
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
57
run: |
58
gh pr create \
59
--base master \
0 commit comments