Skip to content

Commit 958f865

Browse files
committed
Post SVN to GIT migration updates (#29)
1 parent 26631e7 commit 958f865

File tree

10 files changed

+70
-18
lines changed

10 files changed

+70
-18
lines changed

.github/workflows/jobs.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "Create Jobs PR"
2+
3+
on:
4+
create: # This event does not support branch filter (branches: jobs).
5+
6+
concurrency:
7+
group: "jobs"
8+
cancel-in-progress: false
9+
10+
jobs:
11+
12+
build:
13+
name: "Create PR for jobs branch."
14+
if: github.ref == 'refs/heads/jobs'
15+
16+
permissions:
17+
contents: read
18+
# `gh pr create` needs this. It also needs
19+
# Settings > Actions > General > Workflow permissions > Allow GitHub Actions to create and approve pull requests
20+
pull-requests: write
21+
22+
runs-on: ubuntu-latest
23+
steps:
24+
25+
- name: "Checkout ${{ github.ref }} branch in ${{ github.repository }} repository."
26+
uses: actions/checkout@v3
27+
with:
28+
ref: jobs
29+
30+
- name: "Create PR"
31+
env:
32+
# Use token that's auto-created for this Job, see permissions: above.
33+
GH_TOKEN: ${{ github.token }}
34+
run: |
35+
# Workaround for https://github.com/cli/cli/issues/5896
36+
git fetch origin main
37+
gh pr create --fill-first

.gitignore

+31-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,35 @@
1-
/.git
2-
/.sass-cache
3-
/.gradle
4-
/_site
1+
# Version Control
2+
/temp/
3+
/sources/jobs/
4+
5+
# Gradle build
6+
/.gradle/
7+
/build/
8+
9+
# Jekyll build
10+
/.jekyll-metadata
11+
/.sass-cache/
12+
/_site/
13+
14+
# Ruby
515
/Gemfile.lock
16+
17+
# Fontcustom build
18+
/sources/iconfont/.fontcustom-manifest.json
19+
/sources/iconfont/iconfont-preview.html
20+
/_sass/_iconfont.scss
21+
/assets/fonts/iconfont.eot
22+
/assets/fonts/iconfont.svg
23+
/assets/fonts/iconfont.ttf
24+
/assets/fonts/iconfont.woff
25+
/assets/fonts/iconfont.woff2
26+
27+
# IntelliJ IDEA
28+
/.idea/
629
/*.iws
730
/*.ipr
8-
/*.iml
9-
/.idea
10-
/.jekyll-metadata
31+
*.iml
32+
33+
# Operating System
34+
# When subst'd, Windows might create this folder.
1135
/System Volume Information

.idea/.name

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gemfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ gem 'wdm', '>= 0.1.1' if Gem.win_platform?
1313
# > To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
1414
# Not sure what it does, because I don't use octokit directly:
1515
# https://github.com/octokit/octokit.rb/discussions/1486
16-
# TODEL condition; it was added as a workaround for https://github.com/actions/jekyll-build-pages/issues/104
17-
gem 'faraday-retry', '~> 2.2.0' if ENV["GITHUB_ACTIONS"] != "true"
16+
gem 'faraday-retry', '~> 2.2.0'

_drafts/.gitignore

Whitespace-only changes.

_sass/.gitignore

-1
This file was deleted.

assets/fonts/.gitignore

-5
This file was deleted.

assets/img/.gitignore

Whitespace-only changes.

sources/.gitignore

-1
This file was deleted.

sources/iconfont/.gitignore

-2
This file was deleted.

0 commit comments

Comments
 (0)