You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/setup.yml
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -21,19 +21,21 @@ jobs:
21
21
- name: Checkout repository
22
22
uses: actions/checkout@v4
23
23
24
-
- name: Create issue to enable repository merge settings
24
+
- name: Replace placeholders in issue template
25
+
env:
26
+
OWNER: ${{ github.repository_owner }}
27
+
REPO: ${{ github.event.repository.name }}
25
28
run: |
26
-
owner_repo="${{ github.repository }}"
27
-
issue_title="Enable repository merge settings"
28
-
issue_body=$(
29
-
echo -e "Please go to [repository settings](https://github.com/${owner_repo}/settings#merge-button-settings) and configure the following:\n\n- [ ] Automatically delete head branches\n- [ ] Allow auto-merge"
30
-
)
29
+
sed -i "s|{{owner}}|$OWNER|g" .github/setup-reminder.md
30
+
sed -i "s|{{repo}}|$REPO|g" .github/setup-reminder.md
0 commit comments